]> code.ossystems Code Review - openembedded-core.git/commit
base.bbclass: check all entries of FILESPATH for MACHINE overrides
authorJoshua Lock <josh@linux.intel.com>
Wed, 22 Feb 2012 01:46:42 +0000 (17:46 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Feb 2012 22:10:56 +0000 (22:10 +0000)
commitf2b572072c754048aaafdc4c42b71af87d61d9e7
tree3d21d261b98af238270cd795f3765a162ec4097d
parent264d1254e5ac11613af06c0f1c53c736f54e9f54
base.bbclass: check all entries of FILESPATH for MACHINE overrides

The logic which looks for MACHINE overrides in SRC_URI and updates
PACKAGE_ARCH was checking only certain subdirectories of the recipes parent
which, amongst other issues, doesn't account for SRC_URI overrides in layers.

This patch changes the logic such that all FILESPATH entries are checked
for children named for MACHINE.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass