summaryrefslogtreecommitdiff
path: root/recipes/kexec/files/kexec2-klibc.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-05-20 00:35:00 +0200
committerKoen Kooi <koen@openembedded.org>2009-05-20 00:35:00 +0200
commit68ce5c81446f09cb33f46784d7318e429ae96bbc (patch)
tree923cec7b7d30ce7662b5be035c5a557d1306d421 /recipes/kexec/files/kexec2-klibc.patch
parentdda33cd8b2a2a6a699fe94fa0c2bf4cebd0cb45c (diff)
parente6a8ba0d167398f6653b86dcdac25c3d33aee6ca (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/kexec/files/kexec2-klibc.patch')
-rw-r--r--recipes/kexec/files/kexec2-klibc.patch21
1 files changed, 9 insertions, 12 deletions
diff --git a/recipes/kexec/files/kexec2-klibc.patch b/recipes/kexec/files/kexec2-klibc.patch
index b80848d291..a7dbe61d13 100644
--- a/recipes/kexec/files/kexec2-klibc.patch
+++ b/recipes/kexec/files/kexec2-klibc.patch
@@ -55,19 +55,16 @@ Index: kexec-tools-2.0.0/kexec/ifdown.c
#include <netinet/in.h>
Index: kexec-tools-2.0.0/purgatory/Makefile
===================================================================
---- kexec-tools-2.0.0.orig/purgatory/Makefile 2009-04-24 14:15:34.037827479 +0100
-+++ kexec-tools-2.0.0/purgatory/Makefile 2009-04-24 14:15:47.022825503 +0100
-@@ -55,9 +54,7 @@
- -I$(srcdir)/purgatory/arch/$(ARCH)/include \
- -I$(srcdir)/util_lib/include \
- -I$(shell $(CC) -print-file-name=include)
--$(PURGATORY): LDFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS)\
-- --no-undefined -nostartfiles -nostdlib -nodefaultlibs \
-- -e purgatory_start -r
-+$(PURGATORY): LDFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS)
+--- kexec-tools-2.0.0.orig/purgatory/Makefile 2009-05-19 14:15:34.037827479 +0100
++++ kexec-tools-2.0.0/purgatory/Makefile 2009-05-19 14:15:47.022825503 +0100
+@@ -47,6 +47,7 @@
+ $(PURGATORY): CC=$(TARGET_CC)
+ $(PURGATORY): CFLAGS+=$($(ARCH)_PURGATORY_EXTRA_CFLAGS) \
+ -Os -fno-builtin -ffreestanding \
++ -nostdinc \
+ -fno-zero-initialized-in-bss
- $(PURGATORY): $(PURGATORY_OBJS)
- $(MKDIR) -p $(@D)
+ $(PURGATORY): CPPFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS) \
Index: kexec-tools-2.0.0/purgatory/purgatory.c
===================================================================
--- kexec-tools-2.0.0.orig/purgatory/purgatory.old 2009-05-16 13:28:19.000000000 +0200