summaryrefslogtreecommitdiffstats
path: root/package/kexec/kexec-tools-003-build-util-using-host-gcc.patch
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-24 14:06:13 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-24 14:06:13 +0000
commitcb726c166d9c6d17f5232ba3aea650b5a8411ce4 (patch)
tree69b991d43f55484b6307784e5b68e00a51594814 /package/kexec/kexec-tools-003-build-util-using-host-gcc.patch
parent29cc530407abd7b4ead9faba33da84d789ba94b7 (diff)
downloadbuildroot-novena-cb726c166d9c6d17f5232ba3aea650b5a8411ce4.tar.gz
buildroot-novena-cb726c166d9c6d17f5232ba3aea650b5a8411ce4.zip
Patch correctly kexec, make sure utils is built using HOSTCC
Diffstat (limited to 'package/kexec/kexec-tools-003-build-util-using-host-gcc.patch')
-rw-r--r--package/kexec/kexec-tools-003-build-util-using-host-gcc.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/kexec/kexec-tools-003-build-util-using-host-gcc.patch b/package/kexec/kexec-tools-003-build-util-using-host-gcc.patch
new file mode 100644
index 000000000..d2090d40f
--- /dev/null
+++ b/package/kexec/kexec-tools-003-build-util-using-host-gcc.patch
@@ -0,0 +1,17 @@
+diff -urN kexec-tools-1.101-0rig/util/Makefile kexec-tools-1.101/util/Makefile
+--- kexec-tools-1.101-0rig/util/Makefile 2004-12-16 22:08:21.000000000 +0100
++++ kexec-tools-1.101/util/Makefile 2007-07-24 16:32:48.000000000 +0200
+@@ -1,4 +1,4 @@
+ BIN_TO_HEX:= $(OBJDIR)/bin/bin-to-hex
+ $(BIN_TO_HEX): util/bin-to-hex.c
+ mkdir -p $(@D)
+- $(BUILD_CC) $(BUILD_CFLAGS) $< -o $@
++ $(HOSTCC) $(HOST_CFLAGS) $< -o $@
+diff -urN kexec-tools-1.101-0rig/util/Makefile~ kexec-tools-1.101/util/Makefile~
+--- kexec-tools-1.101-0rig/util/Makefile~ 1970-01-01 01:00:00.000000000 +0100
++++ kexec-tools-1.101/util/Makefile~ 2004-12-16 22:08:21.000000000 +0100
+@@ -0,0 +1,4 @@
++BIN_TO_HEX:= $(OBJDIR)/bin/bin-to-hex
++$(BIN_TO_HEX): util/bin-to-hex.c
++ mkdir -p $(@D)
++ $(BUILD_CC) $(BUILD_CFLAGS) $< -o $@