allarch: Allow class to be included but overridden
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 25 Nov 2012 20:23:00 +0000 (20:23 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Nov 2012 10:01:23 +0000 (10:01 +0000)
commit97572cb18e18c495cf8aeaffa7f92eb57af89a15
tree32a0a6e5d93e4bb06f97a7a4c0956aa041c46130
parentf165f20d13594281ff081915a0e4ad6b4f7d1231
allarch: Allow class to be included but overridden

We have cases where we'd like to inherit this class by default but allow
special cases to override it. This change makes the code of the class
conditional on PACKAGE_ARCH remaining set to "all", allowing it to be
overridden. packagegroup usage is one case this is desirable.

(From OE-Core rev: 7dd91402b719ac62b51088f234354f82bfa9c4b6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/allarch.bbclass