summaryrefslogtreecommitdiffstats
path: root/package/kexec-tools/patches/0002-Use-separate-LDFLAGS-for-bin-to-hex.patch
diff options
context:
space:
mode:
authorjk <jk@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-04-12 23:20:31 +0000
committerjk <jk@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-04-12 23:20:31 +0000
commitaff6fa1a1d0d4ce7debefa250e4845e4b86811e4 (patch)
tree66f0f8bb902d096a01dd6d60b80fee64e2c03ce5 /package/kexec-tools/patches/0002-Use-separate-LDFLAGS-for-bin-to-hex.patch
parent7e4be8edea219e2e688c2557961b1603bb71a7c2 (diff)
[package/kexec] Use new kexec tools
Horms' new kexec-tools repository has a number of updates and fixes for kexec, and also supports the PS3. This change updates the kexec repo, and adds a few build-system patches to make it work with OpenWRT. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10803 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kexec-tools/patches/0002-Use-separate-LDFLAGS-for-bin-to-hex.patch')
-rw-r--r--package/kexec-tools/patches/0002-Use-separate-LDFLAGS-for-bin-to-hex.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/kexec-tools/patches/0002-Use-separate-LDFLAGS-for-bin-to-hex.patch b/package/kexec-tools/patches/0002-Use-separate-LDFLAGS-for-bin-to-hex.patch
new file mode 100644
index 000000000..f420bab6a
--- /dev/null
+++ b/package/kexec-tools/patches/0002-Use-separate-LDFLAGS-for-bin-to-hex.patch
@@ -0,0 +1,27 @@
+From 072159b1f4aca88f7d99259fe2bd14a6653ede52 Mon Sep 17 00:00:00 2001
+From: Jeremy Kerr <jk@ozlabs.org>
+Date: Wed, 19 Mar 2008 17:20:39 +1100
+Subject: [PATCH] Use separate LDFLAGS for bin-to-hex
+
+We don't need the general -L and -l flags for the bin-to-hex util.
+
+Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
+---
+ util/Makefile | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/util/Makefile b/util/Makefile
+index 89732a1..11d82fd 100644
+--- a/util/Makefile
++++ b/util/Makefile
+@@ -6,6 +6,7 @@ $(BIN_TO_HEX): $(srcdir)/util/bin-to-hex.c
+
+ $(BIN_TO_HEX): CC=$(BUILD_CC)
+ $(BIN_TO_HEX): CFLAGS=$(BUILD_CFLAGS)
++$(BIN_TO_HEX): LDFLAGS=
+
+ dist += util/Makefile util/bin-to-hex.c
+ clean += util/bin-to-hex.o $(BIN_TO_HEX)
+--
+1.5.0.rc4.g85b1
+