From 1483a6c5d787353ec315a8e7cae7b8604cc7b23c Mon Sep 17 00:00:00 2001 From: Shane Wang Date: Sun, 22 Jan 2012 14:53:56 +0800 Subject: kexec-tools: upgrade to 2.0.3 This patch is to upgrade kexec-tools to 2.0.3. And since fix_for_compiling_with_gcc-4.6.0.patch is there in 2.0.3, it is removed. (From OE-Core rev: aea75907ff0ad11b7a17910f74491278e55bbc10) Signed-off-by: Shane Wang Signed-off-by: Richard Purdie --- .../fix_for_compiling_with_gcc-4.6.0.patch | 40 ---------------------- 1 file changed, 40 deletions(-) delete mode 100644 meta/recipes-kernel/kexec/kexec-tools/fix_for_compiling_with_gcc-4.6.0.patch (limited to 'meta/recipes-kernel/kexec/kexec-tools/fix_for_compiling_with_gcc-4.6.0.patch') diff --git a/meta/recipes-kernel/kexec/kexec-tools/fix_for_compiling_with_gcc-4.6.0.patch b/meta/recipes-kernel/kexec/kexec-tools/fix_for_compiling_with_gcc-4.6.0.patch deleted file mode 100644 index 658699b014..0000000000 --- a/meta/recipes-kernel/kexec/kexec-tools/fix_for_compiling_with_gcc-4.6.0.patch +++ /dev/null @@ -1,40 +0,0 @@ -Upstream-Status: Pending - -Fix following compiler warining/errors with gcc 4.6.0. -Nitin A Kamble 2011/05/09 - -| kexec/kexec.c: In function 'my_exec': -| kexec/kexec.c:818:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] - -| ccache i586-poky-linux-gcc -march=i586 --sysroot=/build_disk/poky_build/build_gcc_4.6.0/tmp/sysroots/qemux86 --no-undefined -nostartfiles -nostdlib -nodefaultlibs -e purgatory_start -r -o purgatory/purgatory.ro purgatory/purgatory.o purgatory/printf.o purgatory/string.o purgatory/arch/i386/entry32-16.o purgatory/arch/i386/entry32-16-debug.o purgatory/arch/i386/entry32.o purgatory/arch/i386/setup-x86.o purgatory/arch/i386/stack.o purgatory/arch/i386/compat_x86_64.o purgatory/arch/i386/purgatory-x86.o purgatory/arch/i386/console-x86.o purgatory/arch/i386/vga.o purgatory/arch/i386/pic.o purgatory/arch/i386/crashdump_backup.o purgatory/sha256.o -| i586-poky-linux-gcc: error: unrecognized option '--no-undefined' -| make: *** [purgatory/purgatory.ro] Error 1 -| ERROR: oe_runmake failed - - -Index: kexec-tools-2.0.2/kexec/kexec.c -=================================================================== ---- kexec-tools-2.0.2.orig/kexec/kexec.c -+++ kexec-tools-2.0.2/kexec/kexec.c -@@ -815,7 +815,7 @@ static int my_shutdown(void) - */ - static int my_exec(void) - { -- int result; -+ int __attribute__((__unused__)) result; - - result = kexec_reboot(); - /* I have failed if I make it here */ -Index: kexec-tools-2.0.2/purgatory/Makefile -=================================================================== ---- kexec-tools-2.0.2.orig/purgatory/Makefile -+++ kexec-tools-2.0.2/purgatory/Makefile -@@ -56,7 +56,7 @@ $(PURGATORY): CPPFLAGS=$($(ARCH)_PURGATO - -I$(srcdir)/include \ - -I$(shell $(CC) -print-file-name=include) - $(PURGATORY): LDFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS)\ -- --no-undefined -nostartfiles -nostdlib -nodefaultlibs \ -+ -Wl,--no-undefined -nostartfiles -nostdlib -nodefaultlibs \ - -e purgatory_start -r - - $(PURGATORY): $(PURGATORY_OBJS) -- cgit v1.2.3-54-g00ecf