summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTian Fang <tfang@fb.com>2015-09-25 14:45:14 -0700
committerTian Fang <tfang@fb.com>2015-09-25 14:45:14 -0700
commitf03c7fe8f7a36be261d06e1d5e3535d2d7b6e6b4 (patch)
treed50748035f20fecd9bb7e3dd2d86d98371dc29eb
parentd33ed2284e50dea51c86a786e16f6c19f9cfd373 (diff)
downloadast2050-yocto-openbmc-f03c7fe8f7a36be261d06e1d5e3535d2d7b6e6b4.zip
ast2050-yocto-openbmc-f03c7fe8f7a36be261d06e1d5e3535d2d7b6e6b4.tar.gz
[u-boot] Fixed the striplevel for the new patch file
Summary: As tile Test Plan: bitbake -c cleanall u-boot u-boot-fw-utils bitbake u-boot u-boot-fw-utils
-rw-r--r--meta-aspeed/recipes-bsp/u-boot/u-boot-fw-utils_2013.07%.bbappend11
-rw-r--r--meta-aspeed/recipes-bsp/u-boot/u-boot_2013.07%.bbappend11
2 files changed, 11 insertions, 11 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 50c357f..be61682 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
@@ -1,6 +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 \
+ file://patch-2013.07/0002-Create-snapshot-of-OpenBMC.patch;striplevel=6 \
"
+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 928aca6..a2f26a5 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,13 +1,6 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-SRC_URI += "file://fw_env.config \
- file://patch-2013.07/0000-u-boot-aspeed-064.patch \
+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 \
+ file://patch-2013.07/0002-Create-snapshot-of-OpenBMC.patch;striplevel=6 \
"
-
-# 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