summaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers/linux-2.6.28.5-cris-objcopy-flags.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-02-12 20:21:12 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-02-12 20:21:12 +0000
commit35dafd0ba767c0e305c0e3978eb375cb2988cd3e (patch)
tree40603667c2e1a597a05e61ad4f4323e61e436a0d /toolchain/kernel-headers/linux-2.6.28.5-cris-objcopy-flags.patch
parent7ac25f1320459136fbe71b65a22c1feee3b4b97b (diff)
downloadbuildroot-novena-35dafd0ba767c0e305c0e3978eb375cb2988cd3e.tar.gz
buildroot-novena-35dafd0ba767c0e305c0e3978eb375cb2988cd3e.zip
kernel-headers: bump 2.6.27/2.6.28 stable versions
Diffstat (limited to 'toolchain/kernel-headers/linux-2.6.28.5-cris-objcopy-flags.patch')
-rw-r--r--toolchain/kernel-headers/linux-2.6.28.5-cris-objcopy-flags.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/linux-2.6.28.5-cris-objcopy-flags.patch b/toolchain/kernel-headers/linux-2.6.28.5-cris-objcopy-flags.patch
new file mode 100644
index 000000000..32da2f087
--- /dev/null
+++ b/toolchain/kernel-headers/linux-2.6.28.5-cris-objcopy-flags.patch
@@ -0,0 +1,45 @@
+--- linux-2.6.28/arch/cris/Makefile 2008-12-25 00:26:37.000000000 +0100
++++ linux-2.6.28.my/arch/cris/Makefile 2009-01-12 13:21:44.000000000 +0100
+@@ -40,7 +40,7 @@
+
+ LD = $(CROSS_COMPILE)ld -mcrislinux
+
+-OBJCOPYFLAGS := -O binary -R .note -R .comment -S
++OBJCOPYFLAGS := -O binary -R .note -R .note.gnu.build-id -R .comment
+
+ CPPFLAGS_vmlinux.lds = -DDRAM_VIRTUAL_BASE=0x$(CONFIG_ETRAX_DRAM_VIRTUAL_BASE)
+
+diff -urN linux-2.6.28/arch/cris/arch-v10/boot/Makefile linux-2.6.28.my/arch/cris/arch-v10/boot/Makefile
+--- linux-2.6.28/arch/cris/arch-v10/boot/Makefile 2008-12-25 00:26:37.000000000 +0100
++++ linux-2.6.28.my/arch/cris/arch-v10/boot/Makefile 2009-01-12 13:28:25.000000000 +0100
+@@ -2,8 +2,6 @@
+ # arch/cris/arch-v10/boot/Makefile
+ #
+
+-OBJCOPYFLAGS = -O binary --remove-section=.bss
+-
+ subdir- := compressed rescue
+ targets := Image
+
+diff -urN linux-2.6.28/arch/cris/arch-v10/boot/compressed/Makefile linux-2.6.28.my/arch/cris/arch-v10/boot/compressed/Makefile
+--- linux-2.6.28/arch/cris/arch-v10/boot/compressed/Makefile 2008-12-25 00:26:37.000000000 +0100
++++ linux-2.6.28.my/arch/cris/arch-v10/boot/compressed/Makefile 2009-01-12 13:28:33.000000000 +0100
+@@ -6,7 +6,6 @@
+ ccflags-y += -O2 $(LINUXINCLUDE)
+ ldflags-y += -T $(srctree)/$(src)/decompress.lds
+ OBJECTS = $(obj)/head.o $(obj)/misc.o
+-OBJCOPYFLAGS = -O binary --remove-section=.bss
+
+ quiet_cmd_image = BUILD $@
+ cmd_image = cat $(obj)/decompress.bin $(obj)/piggy.gz > $@
+diff -urN linux-2.6.28/arch/cris/arch-v10/boot/rescue/Makefile linux-2.6.28.my/arch/cris/arch-v10/boot/rescue/Makefile
+--- linux-2.6.28/arch/cris/arch-v10/boot/rescue/Makefile 2008-12-25 00:26:37.000000000 +0100
++++ linux-2.6.28.my/arch/cris/arch-v10/boot/rescue/Makefile 2009-01-12 13:28:40.000000000 +0100
+@@ -5,7 +5,6 @@
+ ccflags-y += -O2 $(LINUXINCLUDE)
+ asflags-y += $(LINUXINCLUDE)
+ ldflags-y += -T $(srctree)/$(src)/rescue.lds
+-OBJCOPYFLAGS = -O binary --remove-section=.bss
+ obj-$(CONFIG_ETRAX_AXISFLASHMAP) = head.o
+ OBJECT := $(obj)/head.o
+