summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2007-03-08 19:51:17 +0000
committerOyvind Repvik <nail@nslu2-linux.org>2007-03-08 19:51:17 +0000
commit6a66295bdb7a68583be6fd92a0090b258f72c33b (patch)
treee3f776a8ecae67a0c40e572179919ae5c6d6e9e6
parent16c7704c59a0132f8115ec7aa46a667fb8d2383d (diff)
uboot-utils: Make it usable on other machines than the storcenter
-rw-r--r--packages/uboot-utils/files/.mtn2git_empty0
-rw-r--r--packages/uboot-utils/files/env-Makefile.patch (renamed from packages/uboot-utils/env-Makefile.patch)0
-rw-r--r--packages/uboot-utils/files/fw_env.c.patch (renamed from packages/uboot-utils/fw_env.c.patch)0
-rw-r--r--packages/uboot-utils/files/fw_env.h.patch (renamed from packages/uboot-utils/fw_env.h.patch)0
-rw-r--r--packages/uboot-utils/files/tools-Makefile.patch (renamed from packages/uboot-utils/tools-Makefile.patch)0
-rw-r--r--packages/uboot-utils/uboot-utils_1.1.2.bb6
6 files changed, 4 insertions, 2 deletions
diff --git a/packages/uboot-utils/files/.mtn2git_empty b/packages/uboot-utils/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/uboot-utils/files/.mtn2git_empty
diff --git a/packages/uboot-utils/env-Makefile.patch b/packages/uboot-utils/files/env-Makefile.patch
index ad3a6b39a3..ad3a6b39a3 100644
--- a/packages/uboot-utils/env-Makefile.patch
+++ b/packages/uboot-utils/files/env-Makefile.patch
diff --git a/packages/uboot-utils/fw_env.c.patch b/packages/uboot-utils/files/fw_env.c.patch
index 62f364ad4a..62f364ad4a 100644
--- a/packages/uboot-utils/fw_env.c.patch
+++ b/packages/uboot-utils/files/fw_env.c.patch
diff --git a/packages/uboot-utils/fw_env.h.patch b/packages/uboot-utils/files/fw_env.h.patch
index 2ef2bb83c4..2ef2bb83c4 100644
--- a/packages/uboot-utils/fw_env.h.patch
+++ b/packages/uboot-utils/files/fw_env.h.patch
diff --git a/packages/uboot-utils/tools-Makefile.patch b/packages/uboot-utils/files/tools-Makefile.patch
index a44bc917d6..a44bc917d6 100644
--- a/packages/uboot-utils/tools-Makefile.patch
+++ b/packages/uboot-utils/files/tools-Makefile.patch
diff --git a/packages/uboot-utils/uboot-utils_1.1.2.bb b/packages/uboot-utils/uboot-utils_1.1.2.bb
index 3bcf1eba6c..97804dacf8 100644
--- a/packages/uboot-utils/uboot-utils_1.1.2.bb
+++ b/packages/uboot-utils/uboot-utils_1.1.2.bb
@@ -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
}