]> code.ossystems Code Review - openembedded-core.git/commit
base.bbclass: move invalid PACKAGECONFIG checking to insane.bbclass
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 30 Jul 2015 15:18:09 +0000 (08:18 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 1 Aug 2015 09:52:37 +0000 (10:52 +0100)
commit0a64dfcdb9f5a37771f881895be230392c4d0aff
tree2185ce1aab9e6224384486eae6c2c0a56e91b534
parent4d9a9d748e4cd0d0ffc67907c06bd01ceda2722e
base.bbclass: move invalid PACKAGECONFIG checking to insane.bbclass

There was a problem when check invalid PACKAGECONFIG in the anonymous
function (when parsing), for example, there are two versions of a
recipe:
foo_1.0.bb
foo_2.0.bb
While foo_2.0.bb has a "PACKAGECONFIG[item] = 'x,y,z'", but foo_1.0.bb
doesn't, if we set PACKAGECONFIG_pn-foo = "item" in a conf file, we
would get the warning about invalid PACKAGECONFIG for foo_1.0.bb. Delay
the checking to build time will fix the problem.

[YOCTO #8065]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass
meta/classes/insane.bbclass