summaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers/linux-2.6.28.1-cris-objcopy-flags.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-23 13:12:51 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-23 13:12:51 +0000
commit76c5b603c8330fd2ed23f3baab5361e8bc4bbd4a (patch)
tree7c7912638bd7e959c6585b9db57574627574006a /toolchain/kernel-headers/linux-2.6.28.1-cris-objcopy-flags.patch
parentbf8203de71dfaf228cfbe5fa8db5157d7a269285 (diff)
downloadbuildroot-novena-76c5b603c8330fd2ed23f3baab5361e8bc4bbd4a.tar.gz
buildroot-novena-76c5b603c8330fd2ed23f3baab5361e8bc4bbd4a.zip
kernel-headers: rename 2.6.25/2.6.28 patches to match current stable versions
Otherwise they won't get applied.
Diffstat (limited to 'toolchain/kernel-headers/linux-2.6.28.1-cris-objcopy-flags.patch')
-rw-r--r--toolchain/kernel-headers/linux-2.6.28.1-cris-objcopy-flags.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/linux-2.6.28.1-cris-objcopy-flags.patch b/toolchain/kernel-headers/linux-2.6.28.1-cris-objcopy-flags.patch
new file mode 100644
index 000000000..32da2f087
--- /dev/null
+++ b/toolchain/kernel-headers/linux-2.6.28.1-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
+