]> code.ossystems Code Review - openembedded-core.git/commit
base.bbclass: extend PACKAGECONFIG to also allow RRECOMMENDS
authorAndré Draszik <adraszik@tycoint.com>
Mon, 26 Jun 2017 10:08:45 +0000 (11:08 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Jun 2017 19:54:54 +0000 (20:54 +0100)
commitec96c985ce1c888c3ce3c4d964d7a106c3c88a5c
tree37d475551ef5954eeeb21532b65b2614a1138928
parentf769b8389091b4ffaff8f6f8fc7e53462ce176a5
base.bbclass: extend PACKAGECONFIG to also allow RRECOMMENDS

It can be useful to add RRECOMMENDS to packages created, based
on certain PACKAGECONFIGs.

In particular where a package depends on certain linux kernel
infrastructure (kernel modules) which might or might not be
built as a module, being able to RRECOMMENDS instead of
RDEPENDS on the relevant packages avoids build failures in
case those modules are built statically into the kernel, i.e.
in case no package is being created for them.

Add another field to the PACKAGECONFIG syntax to achieve just
that.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/base.bbclass