]> code.ossystems Code Review - openembedded-core.git/commitdiff
Revert "bitbake.conf: Drop obsolete FILESDIR setting"
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 Nov 2012 20:35:52 +0000 (20:35 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 Nov 2012 20:35:52 +0000 (20:35 +0000)
This reverts commit d6e5ceafcaef06b8a3f9acc2aa826a40a016f913 since
the value is clearly still being used in local file urls that are
only hit at do_unpack time.

meta/conf/bitbake.conf

index 7c939f5a4d47b916dadb77e353e14ae2d9a19c65..450a0ee1e9c0b8d9eb4f84c362e7852a8425548b 100644 (file)
@@ -319,6 +319,7 @@ FILES_${PN}-locale = "${datadir}/locale"
 FILE_DIRNAME = "${@os.path.dirname(d.getVar('FILE'))}"
 # FILESPATH is set in base.bbclass
 #FILESPATH = "${FILE_DIRNAME}/${PF}:${FILE_DIRNAME}/${P}:${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/${BP}:${FILE_DIRNAME}/${BPN}:${FILE_DIRNAME}/files:${FILE_DIRNAME}"
+FILESDIR = "${@bb.which(d.getVar('FILESPATH', True), '.')}"
 
 ##################################################################
 # General work and output directories for the build system.