bitbake.conf: resurrect FILESDIR, didn't intend its complete removal just yet.
authorChris Larson <clarson@kergoth.com>
Mon, 23 Mar 2009 22:59:28 +0000 (15:59 -0700)
committerChris Larson <clarson@kergoth.com>
Mon, 23 Mar 2009 22:59:28 +0000 (15:59 -0700)
Signed-off-by: Chris Larson <clarson@kergoth.com>
conf/bitbake.conf

index 2d86f1e..7c159af 100644 (file)
@@ -235,7 +235,8 @@ 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))])}:${FILESDIR}"
+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))])}"
+FILESDIR = "${@bb.which(d.getVar('FILESPATH', 1), '.')}"
 
 ##################################################################
 # General work and output directories for the build system.