]> code.ossystems Code Review - openembedded-core.git/commit
packagegroup.bbclass: Use immediate expanded PACKAGE_ARCH value
authorOtavio Salvador <otavio@ossystems.com.br>
Sat, 6 Sep 2014 19:41:55 +0000 (16:41 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Sep 2014 14:19:59 +0000 (15:19 +0100)
commit2c9b1d304daade7b0907320aeb9c522e7ab9dcab
tree5df538c42eaf0735f1d9554086cb6e0e324b4959
parentf8e99fa8baa020c6414da19428b73c1fd30c9523
packagegroup.bbclass: Use immediate expanded PACKAGE_ARCH value

When the PACKAGE_ARCH is dependant of a override, the expanding is
done too late triggering the false-positive error of wrong inclusion
order.

To fix this we use immediate expansion operator to evaluate the
PACKAGE_ARCH value in order to choose to load 'allarch' class or not.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta/classes/packagegroup.bbclass