diff options
author | Tian Fang <tfang@fb.com> | 2015-09-25 14:45:14 -0700 |
---|---|---|
committer | Tian Fang <tfang@fb.com> | 2015-09-25 14:45:14 -0700 |
commit | f03c7fe8f7a36be261d06e1d5e3535d2d7b6e6b4 (patch) | |
tree | d50748035f20fecd9bb7e3dd2d86d98371dc29eb /meta-aspeed | |
parent | d33ed2284e50dea51c86a786e16f6c19f9cfd373 (diff) | |
download | ast2050-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
Diffstat (limited to 'meta-aspeed')
-rw-r--r-- | meta-aspeed/recipes-bsp/u-boot/u-boot-fw-utils_2013.07%.bbappend | 11 | ||||
-rw-r--r-- | meta-aspeed/recipes-bsp/u-boot/u-boot_2013.07%.bbappend | 11 |
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* -} |