summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2007-04-10 17:43:07 +0000
committerOyvind Repvik <nail@nslu2-linux.org>2007-04-10 17:43:07 +0000
commit47f4090dc92198099ede07f4afd65d34bfb4ef29 (patch)
treeaa25a6c4f9327d9a876e32604e428551c51e9206
parentdb6adbc25654083dec7a65d86d72c77eae577696 (diff)
uboot-utils: Try removing the files one more time
-rw-r--r--packages/uboot-utils/files/env-Makefile.patch24
-rw-r--r--packages/uboot-utils/files/fic-gta01/.mtn2git_empty0
-rw-r--r--packages/uboot-utils/files/fw_env.c.patch13
-rw-r--r--packages/uboot-utils/files/fw_env.config7
-rw-r--r--packages/uboot-utils/files/fw_env.h.patch24
-rw-r--r--packages/uboot-utils/files/tools-Makefile.patch19
-rw-r--r--packages/uboot-utils/files/turbostation/.mtn2git_empty0
-rw-r--r--packages/uboot-utils/uboot-utils_1.1.2.bb43
8 files changed, 0 insertions, 130 deletions
diff --git a/packages/uboot-utils/files/env-Makefile.patch b/packages/uboot-utils/files/env-Makefile.patch
deleted file mode 100644
index ad3a6b39a3..0000000000
--- a/packages/uboot-utils/files/env-Makefile.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- u-boot-1.1.2.orig/tools/env/Makefile 2003-06-27 14:32:48.000000000 -0700
-+++ u-boot-1.1.2/tools/env/Makefile 2006-11-08 12:33:43.000000000 -0800
-@@ -27,7 +27,7 @@
- all: fw_printenv
-
- fw_printenv: $(SOURCES) $(HEADERS)
-- $(CROSS_COMPILE)gcc -Wall -DUSE_HOSTCC $(SOURCES) -o fw_printenv
-+ $(CROSS_COMPILE)gcc $(TARGET_CFLAGS) -idirafter ../../include -Wall -DUSE_HOSTCC $(SOURCES) -o fw_printenv
-
- clean:
- rm -f fw_printenv crc32.c
-@@ -37,9 +37,9 @@
-
- #########################################################################
-
--.depend: Makefile $(SOURCES)
-- $(CC) -M $(HOST_CFLAGS) $(CPPFLAGS) -DUSE_HOSTCC $(SOURCES) > $@
-+#.depend: Makefile $(SOURCES)
-+# $(CC) -M $(HOST_CFLAGS) $(TARGET_CPPFLAGS) -DUSE_HOSTCC $(SOURCES) > $@
-
--sinclude .depend
-+#sinclude .depend
-
- #########################################################################
diff --git a/packages/uboot-utils/files/fic-gta01/.mtn2git_empty b/packages/uboot-utils/files/fic-gta01/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/uboot-utils/files/fic-gta01/.mtn2git_empty
+++ /dev/null
diff --git a/packages/uboot-utils/files/fw_env.c.patch b/packages/uboot-utils/files/fw_env.c.patch
deleted file mode 100644
index 62f364ad4a..0000000000
--- a/packages/uboot-utils/files/fw_env.c.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- u-boot-1.1.2.orig/tools/env/fw_env.c 2004-12-31 01:32:54.000000000 -0800
-+++ u-boot-1.1.2/tools/env/fw_env.c 2006-11-08 12:43:41.000000000 -0800
-@@ -31,7 +31,9 @@
- #include <sys/ioctl.h>
- #include <sys/stat.h>
- #include <unistd.h>
--#include <linux/mtd/mtd.h>
-+#include <stdint.h>
-+#include <mtd/mtd-abi.h>
-+#include <mtd/mtd-user.h>
- #include "fw_env.h"
-
- typedef unsigned char uchar;
diff --git a/packages/uboot-utils/files/fw_env.config b/packages/uboot-utils/files/fw_env.config
deleted file mode 100644
index 2432bd866c..0000000000
--- a/packages/uboot-utils/files/fw_env.config
+++ /dev/null
@@ -1,7 +0,0 @@
-# Configuration file for fw_(printenv/saveenv) utility.
-# Up to two entries are valid, in this case the redundand
-# environment sector is assumed present.
-
-# MTD device name Device offset Env. size Flash sector size
-/dev/mtd1 0x0000 0x4000 0x4000
-/dev/mtd2 0x0000 0x4000 0x4000
diff --git a/packages/uboot-utils/files/fw_env.h.patch b/packages/uboot-utils/files/fw_env.h.patch
deleted file mode 100644
index 2ef2bb83c4..0000000000
--- a/packages/uboot-utils/files/fw_env.h.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- u-boot-1.1.2.orig/tools/env/fw_env.h 2003-06-27 14:32:49.000000000 -0700
-+++ u-boot-1.1.2/tools/env/fw_env.h 2006-11-16 10:51:01.000000000 -0800
-@@ -27,14 +27,15 @@
- * See included "fw_env.config" sample file (TRAB board)
- * for notes on configuration.
- */
--#define CONFIG_FILE "/etc/fw_env.config"
-
--#define HAVE_REDUND /* For systems with 2 env sectors */
--#define DEVICE1_NAME "/dev/mtd1"
-+/* #define CONFIG_FILE "/etc/fw_env.config" */
-+
-+#undef HAVE_REDUND /* For systems with 2 env sectors */
-+#define DEVICE1_NAME "/dev/mtd/3"
- #define DEVICE2_NAME "/dev/mtd2"
--#define DEVICE1_OFFSET 0x0000
--#define ENV1_SIZE 0x4000
--#define DEVICE1_ESIZE 0x4000
-+#define DEVICE1_OFFSET 0x30000
-+#define ENV1_SIZE 0x10000
-+#define DEVICE1_ESIZE 0x10000
- #define DEVICE2_OFFSET 0x0000
- #define ENV2_SIZE 0x4000
- #define DEVICE2_ESIZE 0x4000
diff --git a/packages/uboot-utils/files/tools-Makefile.patch b/packages/uboot-utils/files/tools-Makefile.patch
deleted file mode 100644
index a44bc917d6..0000000000
--- a/packages/uboot-utils/files/tools-Makefile.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- u-boot-1.1.2.orig/tools/Makefile 2004-09-28 14:39:46.000000000 -0700
-+++ u-boot-1.1.2/tools/Makefile 2006-11-08 11:07:18.000000000 -0800
-@@ -56,7 +56,7 @@
- HOSTOS := $(shell uname -s | tr A-Z a-z | \
- sed -e 's/\(cygwin\).*/cygwin/')
-
--TOOLSUBDIRS =
-+TOOLSUBDIRS = env
-
- #
- # Mac OS X / Darwin's C preprocessor is Apple specific. It
-@@ -176,6 +176,7 @@
- else
- @for dir in $(TOOLSUBDIRS) ; do \
- $(MAKE) \
-+ CROSS_COMPILE=$(CROSS_COMPILE) \
- HOSTOS=$(HOSTOS) \
- HOSTARCH=$(HOSTARCH) \
- HOST_CFLAGS="$(HOST_CFLAGS)" \
diff --git a/packages/uboot-utils/files/turbostation/.mtn2git_empty b/packages/uboot-utils/files/turbostation/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/uboot-utils/files/turbostation/.mtn2git_empty
+++ /dev/null
diff --git a/packages/uboot-utils/uboot-utils_1.1.2.bb b/packages/uboot-utils/uboot-utils_1.1.2.bb
deleted file mode 100644
index 621a55c964..0000000000
--- a/packages/uboot-utils/uboot-utils_1.1.2.bb
+++ /dev/null
@@ -1,43 +0,0 @@
-DESCRIPTION = "U-boot bootloader OS env. access tools for PPC"
-SECTION = "bootloaders"
-PRIORITY = "optional"
-LICENSE = "GPL"
-DEPENDS = "mtd-utils"
-PR = "r4"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/u-boot/u-boot-${PV}.tar.bz2 \
- file://fw_env.c.patch;patch=1 \
- file://tools-Makefile.patch;patch=1 \
- file://env-Makefile.patch;patch=1 \
- file://fw_env.config"
-
-S = "${WORKDIR}/u-boot-${PV}"
-EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
-TARGET_LDFLAGS = ""
-
-UBOOT_MACHINE ?= "${MACHINE}_config"
-
-inherit base
-
-do_configure() {
- :
-}
-
-do_compile () {
- oe_runmake Sandpoint8240_config
- oe_runmake tools
-}
-
-# install mkimage for the kernel makefile
-do_stage() {
- install -d ${STAGING_BINDIR_NATIVE}
- install -m 755 ${S}/tools/mkimage ${STAGING_BINDIR_NATIVE}/
-}
-
-do_install () {
- install -d ${D}/sbin
- install -d ${D}${sysconfdir}
- install -m 644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
- install -m 755 ${S}/tools/env/fw_printenv ${D}/sbin/fw_printenv
- install -m 755 ${S}/tools/env/fw_printenv ${D}/sbin/fw_setenv
-}