uboot-utils: Make it usable on other machines than the storcenter
authorOyvind Repvik <nail@nslu2-linux.org>
Thu, 8 Mar 2007 19:51:17 +0000 (19:51 +0000)
committerOyvind Repvik <nail@nslu2-linux.org>
Thu, 8 Mar 2007 19:51:17 +0000 (19:51 +0000)
packages/uboot-utils/files/.mtn2git_empty [new file with mode: 0644]
packages/uboot-utils/files/env-Makefile.patch [moved from packages/uboot-utils/env-Makefile.patch with 100% similarity]
packages/uboot-utils/files/fw_env.c.patch [moved from packages/uboot-utils/fw_env.c.patch with 100% similarity]
packages/uboot-utils/files/fw_env.h.patch [moved from packages/uboot-utils/fw_env.h.patch with 100% similarity]
packages/uboot-utils/files/tools-Makefile.patch [moved from packages/uboot-utils/tools-Makefile.patch with 100% similarity]
packages/uboot-utils/uboot-utils_1.1.2.bb

diff --git a/packages/uboot-utils/files/.mtn2git_empty b/packages/uboot-utils/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
index 3bcf1eb..97804da 100644 (file)
@@ -3,9 +3,9 @@ SECTION = "bootloaders"
 PRIORITY = "optional"
 LICENSE = "GPL"
 DEPENDS = "mtd-utils"
+PR = "1"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/u-boot/u-boot-${PV}.tar.bz2 \
-        file://fw_env.h.patch;patch=1 \
         file://fw_env.c.patch;patch=1 \
         file://tools-Makefile.patch;patch=1 \
         file://env-Makefile.patch;patch=1 "
@@ -33,7 +33,9 @@ do_stage() {
 }
 
 do_install () {
-       install -d     ${D}/sbin
+       install -d      ${D}/sbin
+       install -d      ${D}${sysconfdir}
        install -m 755 ${S}/tools/env/fw_printenv ${D}/sbin/fw_printenv
        install -m 755 ${S}/tools/env/fw_printenv ${D}/sbin/fw_setenv
+       install -m 644 ${S}/tools/env/fw_env.config ${D}${sysconfdir}/fw_env.config
 }