diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-07-04 11:23:45 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-05 14:21:56 +0100 |
commit | 9d64d83e2b7281f83720cd783fa08b00ca38a338 (patch) | |
tree | e22faf24891bf0253cad7d6353516323910fb17c /meta/recipes-bsp/u-boot | |
parent | 68cdea67d56d912e41434a56378af0f9b9ec418c (diff) | |
download | poky-9d64d83e2b7281f83720cd783fa08b00ca38a338.tar.gz |
u-boot: make FILESDIR a shared setting via FILESPATH
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>
(From OE-Core rev: 1b78904b115b50172cf82948d8a68dc3a98005ce)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/u-boot')
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot.inc | 1 | ||||
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot_2011.03.bb | 2 | ||||
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot_2011.06.bb | 2 | ||||
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb | 2 |
4 files changed, 1 insertions, 6 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc index afc2d126e4..f794a2ac31 100644 --- a/meta/recipes-bsp/u-boot/u-boot.inc +++ b/meta/recipes-bsp/u-boot/u-boot.inc | |||
@@ -57,6 +57,7 @@ do_install () { | |||
57 | } | 57 | } |
58 | 58 | ||
59 | FILES_${PN} = "/boot" | 59 | FILES_${PN} = "/boot" |
60 | FILESPATH =. "${FILE_DIRNAME}/u-boot-git/${MACHINE}:" | ||
60 | 61 | ||
61 | do_deploy () { | 62 | do_deploy () { |
62 | install -d ${DEPLOYDIR} | 63 | install -d ${DEPLOYDIR} |
diff --git a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb b/meta/recipes-bsp/u-boot/u-boot_2011.03.bb index e99bc2cab4..ed38f54eb1 100644 --- a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb +++ b/meta/recipes-bsp/u-boot/u-boot_2011.03.bb | |||
@@ -10,8 +10,6 @@ LICENSE = "GPLv2+" | |||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ |
11 | file://README;beginline=1;endline=22;md5=3a00ef51d3fc96e9d6c1bc4708ccd3b5" | 11 | file://README;beginline=1;endline=22;md5=3a00ef51d3fc96e9d6c1bc4708ccd3b5" |
12 | 12 | ||
13 | FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/u-boot-git/${MACHINE}" | ||
14 | |||
15 | # This revision corresponds to the tag "v2011.03" | 13 | # This revision corresponds to the tag "v2011.03" |
16 | # We use the revision in order to avoid having to fetch it from the repo during parse | 14 | # We use the revision in order to avoid having to fetch it from the repo during parse |
17 | SRCREV = "19b54a701811220221fc4d5089a2bb18892018ca" | 15 | SRCREV = "19b54a701811220221fc4d5089a2bb18892018ca" |
diff --git a/meta/recipes-bsp/u-boot/u-boot_2011.06.bb b/meta/recipes-bsp/u-boot/u-boot_2011.06.bb index 680401f45b..da61852107 100644 --- a/meta/recipes-bsp/u-boot/u-boot_2011.06.bb +++ b/meta/recipes-bsp/u-boot/u-boot_2011.06.bb | |||
@@ -10,8 +10,6 @@ LICENSE = "GPLv2+" | |||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ |
11 | file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90" | 11 | file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90" |
12 | 12 | ||
13 | FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/u-boot-git/${MACHINE}" | ||
14 | |||
15 | # This revision corresponds to the tag "v2011.06" | 13 | # This revision corresponds to the tag "v2011.06" |
16 | # We use the revision in order to avoid having to fetch it from the repo during parse | 14 | # We use the revision in order to avoid having to fetch it from the repo during parse |
17 | SRCREV = "b1af6f532e0d348b153d5c148369229d24af361a" | 15 | SRCREV = "b1af6f532e0d348b153d5c148369229d24af361a" |
diff --git a/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb b/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb index dbdc663ff9..25cc8c9f03 100644 --- a/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb +++ b/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb | |||
@@ -14,8 +14,6 @@ DEFAULT_PREFERENCE = "-1" | |||
14 | LICENSE = "GPLv2+" | 14 | LICENSE = "GPLv2+" |
15 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" | 15 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" |
16 | 16 | ||
17 | FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/u-boot-git/${MACHINE}" | ||
18 | |||
19 | # This revision corresponds to the tag "v2012.04.01" | 17 | # This revision corresponds to the tag "v2012.04.01" |
20 | # We use the revision in order to avoid having to fetch it from the | 18 | # We use the revision in order to avoid having to fetch it from the |
21 | # repo during parse | 19 | # repo during parse |