[oe] [PATCH] bitbake.conf: Don't remove nonexisting paths from FILESPATH
Chris Larson
clarson at kergoth.com
Thu Apr 22 18:11:18 UTC 2010
From: clarson <clarson at 6a149ff2-cb3c-0410-b4c8-c88968701766>
Doing so coupled with amend.bbclass results in caching an __depends which
doesn't include all possible amend.inc files, only all the possible
amend.inc files *within already existing directories*. Leaving all the
possible dirs in FILESPATH resolves this.
Signed-off-by: Chris Larson <chris_larson at mentor.com>
git-svn-id: http://svr-alm-svn-01.alm.mentorg.com:8080/svn/ea/easi_oe/system-builder/release-2010.1@2828 6a149ff2-cb3c-0410-b4c8-c88968701766
---
sb-core/conf/bitbake.conf | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sb-core/conf/bitbake.conf b/sb-core/conf/bitbake.conf
index 9a04292..bd57581 100644
--- a/sb-core/conf/bitbake.conf
+++ b/sb-core/conf/bitbake.conf
@@ -272,7 +272,7 @@ export MANIFEST = "${FILESDIR}/manifest"
FILE_DIRNAME = "${@os.path.dirname(bb.data.getVar('FILE', d))}"
FILESPATHBASE = "${FILE_DIRNAME}"
FILESPATHPKG = "${PF}:${P}:${PN}:${BP}:${BPN}:files:."
-FILESPATH = "${@':'.join([os.path.normpath(os.path.join(fp, p, o)) for fp in d.getVar('FILESPATHBASE', 1).split(':') for p in d.getVar('FILESPATHPKG', 1).split(':') for o in (d.getVar('OVERRIDES', 1) + ':').split(':') if os.path.exists(os.path.join(fp, p, o))])}"
+FILESPATH = "${@':'.join([os.path.join(fp, p, o) for fp in d.getVar('FILESPATHBASE', 1).split(':') for p in d.getVar('FILESPATHPKG', 1).split(':') for o in (d.getVar('OVERRIDES', 1) + ':').split(':')])}"
FILESDIR = "${@bb.which(d.getVar('FILESPATH', 1), '.')}"
##################################################################
--
1.6.3.3
More information about the Openembedded-devel
mailing list