From: Denys Dmytriyenko <[email protected]>

This is temporarily overlayed here until accepted to oe-core.

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 .../recipes-bsp/u-boot/u-boot-fw-utils_2014.07.bb  | 33 ++++++++++++++++++++++
 ...7.bbappend => u-boot-fw-utils_2014.07.bbappend} |  3 +-
 2 files changed, 34 insertions(+), 2 deletions(-)
 create mode 100644 
meta-arago-distro/recipes-bsp/u-boot/u-boot-fw-utils_2014.07.bb
 rename meta-arago-distro/recipes-bsp/u-boot/{u-boot-fw-utils_2013.07.bbappend 
=> u-boot-fw-utils_2014.07.bbappend} (84%)

diff --git a/meta-arago-distro/recipes-bsp/u-boot/u-boot-fw-utils_2014.07.bb 
b/meta-arago-distro/recipes-bsp/u-boot/u-boot-fw-utils_2014.07.bb
new file mode 100644
index 0000000..10a3cd4
--- /dev/null
+++ b/meta-arago-distro/recipes-bsp/u-boot/u-boot-fw-utils_2014.07.bb
@@ -0,0 +1,33 @@
+SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = 
"file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb"
+SECTION = "bootloader"
+DEPENDS = "mtd-utils"
+
+# This revision corresponds to the tag "v2014.07"
+# We use the revision in order to avoid having to fetch it from the
+# repo during parse
+SRCREV = "524123a70761110c5cf3ccc5f52f6d4da071b959"
+
+PV = "v2014.07+git${SRCPV}"
+
+SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
+
+S = "${WORKDIR}/git"
+
+INSANE_SKIP_${PN} = "already-stripped"
+
+do_compile () {
+       oe_runmake ${UBOOT_MACHINE}
+       oe_runmake env
+}
+
+do_install () {
+       install -d ${D}${base_sbindir}
+       install -d ${D}${sysconfdir}
+       install -m 755 ${S}/tools/env/fw_printenv 
${D}${base_sbindir}/fw_printenv
+       install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv
+       install -m 0644 ${S}/tools/env/fw_env.config 
${D}${sysconfdir}/fw_env.config
+}
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git 
a/meta-arago-distro/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bbappend 
b/meta-arago-distro/recipes-bsp/u-boot/u-boot-fw-utils_2014.07.bbappend
similarity index 84%
rename from 
meta-arago-distro/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bbappend
rename to meta-arago-distro/recipes-bsp/u-boot/u-boot-fw-utils_2014.07.bbappend
index 6d1680a..047f94b 100644
--- a/meta-arago-distro/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bbappend
+++ b/meta-arago-distro/recipes-bsp/u-boot/u-boot-fw-utils_2014.07.bbappend
@@ -1,6 +1,5 @@
-PR_append = "-arago0+gitr${SRCPV}"
+PR_append = "-arago0"
 
 # The proper config doesn't currently exist anywhere in mainline U-boot.
 # For now just use a similar config which is good enough for U-boot utilities.
 UBOOT_MACHINE_am57xx-evm = "dra7xx_evm_config"
-
-- 
2.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to