summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-aspeed/recipes-bsp/u-boot/u-boot-fw-utils_2013.07%.bbappend16
-rw-r--r--meta-aspeed/recipes-bsp/u-boot/u-boot_2013.07%.bbappend13
2 files changed, 9 insertions, 20 deletions
diff --git a/meta-aspeed/recipes-bsp/u-boot/u-boot-fw-utils_2013.07%.bbappend b/meta-aspeed/recipes-bsp/u-boot/u-boot-fw-utils_2013.07%.bbappend
index ac75c33..50c357f 100644
--- a/meta-aspeed/recipes-bsp/u-boot/u-boot-fw-utils_2013.07%.bbappend
+++ b/meta-aspeed/recipes-bsp/u-boot/u-boot-fw-utils_2013.07%.bbappend
@@ -3,18 +3,4 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "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"
-
-# This is an ugly hack, but we want to get this out the door, rather than
-# spending forever fiddling with yocto and bitbake.
-
-do_install_append() {
- if [ -e ${WORKDIR}/fw_env.config ] ; then
- install -d ${D}${sysconfdir}
- install -m 644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
- fi
-}
+ "
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