summaryrefslogtreecommitdiffstats
path: root/meta-aspeed/recipes-bsp/u-boot/u-boot-fw-utils_2013.07%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-aspeed/recipes-bsp/u-boot/u-boot-fw-utils_2013.07%.bbappend')
-rw-r--r--meta-aspeed/recipes-bsp/u-boot/u-boot-fw-utils_2013.07%.bbappend17
1 files changed, 16 insertions, 1 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 c93571b..ac75c33 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
@@ -2,4 +2,19 @@ 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
+}
OpenPOWER on IntegriCloud