summaryrefslogtreecommitdiffstats
path: root/meta-aspeed/recipes-bsp/u-boot/u-boot_2013.07%.bbappend
diff options
context:
space:
mode:
authorTian Fang <tfang@fb.com>2015-09-24 22:38:27 -0700
committerTian Fang <tfang@fb.com>2015-09-24 22:38:27 -0700
commita2191ac71c1ed9b265b19b8025633d543d9e6be9 (patch)
tree4ad11ba86bf885a7b9e7af1695cbca989ba71d24 /meta-aspeed/recipes-bsp/u-boot/u-boot_2013.07%.bbappend
parent67f44805b41a532b7b440773f7ee6d17dc0e97f4 (diff)
downloadast2050-yocto-openbmc-a2191ac71c1ed9b265b19b8025633d543d9e6be9.zip
ast2050-yocto-openbmc-a2191ac71c1ed9b265b19b8025633d543d9e6be9.tar.gz
[u-boot] fix the build issue after last push
Summary: The S directory was set incorrectly from the last push.
Diffstat (limited to 'meta-aspeed/recipes-bsp/u-boot/u-boot_2013.07%.bbappend')
-rw-r--r--meta-aspeed/recipes-bsp/u-boot/u-boot_2013.07%.bbappend13
1 files changed, 8 insertions, 5 deletions
diff --git a/meta-aspeed/recipes-bsp/u-boot/u-boot_2013.07%.bbappend b/meta-aspeed/recipes-bsp/u-boot/u-boot_2013.07%.bbappend
index 0ecbd77..928aca6 100644
--- a/meta-aspeed/recipes-bsp/u-boot/u-boot_2013.07%.bbappend
+++ b/meta-aspeed/recipes-bsp/u-boot/u-boot_2013.07%.bbappend
@@ -1,10 +1,13 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-SRC_URI += "file://patch-2013.07/0000-u-boot-aspeed-064.patch \
+SRC_URI += "file://fw_env.config \
+ file://patch-2013.07/0000-u-boot-aspeed-064.patch \
file://patch-2013.07/0001-u-boot-openbmc.patch \
file://patch-2013.07/0002-Create-snapshot-of-OpenBMC.patch \
- "
+ "
-PV = "v2013.07"
-
-S = "${WORKDIR}/u-boot-v2013.07"
+# Do not install u-boot in rootfs
+do_install[postfuncs] += "remove_uboot_from_rootfs"
+remove_uboot_from_rootfs() {
+ rm -rf ${D}/boot/u-boot*
+}
OpenPOWER on IntegriCloud