]> code.ossystems Code Review - openembedded-core.git/commitdiff
u-boot: make FILESDIR a shared setting via FILESPATH
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 4 Jul 2012 15:23:45 +0000 (11:23 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Jul 2012 13:05:18 +0000 (14:05 +0100)
The setting is the same in all recipes, so move it to
the shared settings in u-boot.inc

Since FILESDIR is also being phased out, use the FILESPATH
setting as suggested by Richard Purdie.

Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/u-boot/u-boot.inc
meta/recipes-bsp/u-boot/u-boot_2011.03.bb
meta/recipes-bsp/u-boot/u-boot_2011.06.bb
meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb

index afc2d126e46bed7faa1ac650c357c77e3dc788db..f794a2ac310b4c0c7c52ec065c7a8e4c6268e988 100644 (file)
@@ -57,6 +57,7 @@ do_install () {
 }
 
 FILES_${PN} = "/boot"
+FILESPATH =. "${FILE_DIRNAME}/u-boot-git/${MACHINE}:"
 
 do_deploy () {
     install -d ${DEPLOYDIR}
index e99bc2cab417f3f67b50e0efa4f71a7eccb4e3a5..ed38f54eb139740b20cb1cb282cd1169ac6d7ec0 100644 (file)
@@ -10,8 +10,6 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
                     file://README;beginline=1;endline=22;md5=3a00ef51d3fc96e9d6c1bc4708ccd3b5"
 
-FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/u-boot-git/${MACHINE}"
-
 # This revision corresponds to the tag "v2011.03"
 # We use the revision in order to avoid having to fetch it from the repo during parse
 SRCREV = "19b54a701811220221fc4d5089a2bb18892018ca"
index 680401f45b877f85f535eb010f9f92a994d5e7dd..da618521074dd838b40898e7902c8c6437fb8fd3 100644 (file)
@@ -10,8 +10,6 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
                     file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90"
 
-FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/u-boot-git/${MACHINE}"
-
 # This revision corresponds to the tag "v2011.06"
 # We use the revision in order to avoid having to fetch it from the repo during parse
 SRCREV = "b1af6f532e0d348b153d5c148369229d24af361a"
index dbdc663ff98cba5edc57d0f72517188b7b520881..25cc8c9f038a29c31953f55c4bc642f81b85d987 100644 (file)
@@ -14,8 +14,6 @@ DEFAULT_PREFERENCE = "-1"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
 
-FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/u-boot-git/${MACHINE}"
-
 # This revision corresponds to the tag "v2012.04.01"
 # We use the revision in order to avoid having to fetch it from the
 # repo during parse