summaryrefslogtreecommitdiff
path: root/packages/uboot/u-boot-1.2.0/env-Makefile.patch
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2007-04-10 17:45:19 +0000
committerOyvind Repvik <nail@nslu2-linux.org>2007-04-10 17:45:19 +0000
commitea816aafec72ce5e90e8018f890c10c28fdfe218 (patch)
treedf32a24086df48a7d4aeac79aa2af6f645bd4140 /packages/uboot/u-boot-1.2.0/env-Makefile.patch
parent47f4090dc92198099ede07f4afd65d34bfb4ef29 (diff)
u-boot: finish moving u-boot utils
Diffstat (limited to 'packages/uboot/u-boot-1.2.0/env-Makefile.patch')
-rw-r--r--packages/uboot/u-boot-1.2.0/env-Makefile.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/uboot/u-boot-1.2.0/env-Makefile.patch b/packages/uboot/u-boot-1.2.0/env-Makefile.patch
new file mode 100644
index 0000000000..ad3a6b39a3
--- /dev/null
+++ b/packages/uboot/u-boot-1.2.0/env-Makefile.patch
@@ -0,0 +1,24 @@
+--- 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
+
+ #########################################################################