linux-2.6.28.2-cris-objcopy-flags.patch 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --- linux-2.6.28/arch/cris/Makefile 2008-12-25 00:26:37.000000000 +0100
  2. +++ linux-2.6.28.my/arch/cris/Makefile 2009-01-12 13:21:44.000000000 +0100
  3. @@ -40,7 +40,7 @@
  4. LD = $(CROSS_COMPILE)ld -mcrislinux
  5. -OBJCOPYFLAGS := -O binary -R .note -R .comment -S
  6. +OBJCOPYFLAGS := -O binary -R .note -R .note.gnu.build-id -R .comment
  7. CPPFLAGS_vmlinux.lds = -DDRAM_VIRTUAL_BASE=0x$(CONFIG_ETRAX_DRAM_VIRTUAL_BASE)
  8. diff -urN linux-2.6.28/arch/cris/arch-v10/boot/Makefile linux-2.6.28.my/arch/cris/arch-v10/boot/Makefile
  9. --- linux-2.6.28/arch/cris/arch-v10/boot/Makefile 2008-12-25 00:26:37.000000000 +0100
  10. +++ linux-2.6.28.my/arch/cris/arch-v10/boot/Makefile 2009-01-12 13:28:25.000000000 +0100
  11. @@ -2,8 +2,6 @@
  12. # arch/cris/arch-v10/boot/Makefile
  13. #
  14. -OBJCOPYFLAGS = -O binary --remove-section=.bss
  15. -
  16. subdir- := compressed rescue
  17. targets := Image
  18. 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
  19. --- linux-2.6.28/arch/cris/arch-v10/boot/compressed/Makefile 2008-12-25 00:26:37.000000000 +0100
  20. +++ linux-2.6.28.my/arch/cris/arch-v10/boot/compressed/Makefile 2009-01-12 13:28:33.000000000 +0100
  21. @@ -6,7 +6,6 @@
  22. ccflags-y += -O2 $(LINUXINCLUDE)
  23. ldflags-y += -T $(srctree)/$(src)/decompress.lds
  24. OBJECTS = $(obj)/head.o $(obj)/misc.o
  25. -OBJCOPYFLAGS = -O binary --remove-section=.bss
  26. quiet_cmd_image = BUILD $@
  27. cmd_image = cat $(obj)/decompress.bin $(obj)/piggy.gz > $@
  28. 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
  29. --- linux-2.6.28/arch/cris/arch-v10/boot/rescue/Makefile 2008-12-25 00:26:37.000000000 +0100
  30. +++ linux-2.6.28.my/arch/cris/arch-v10/boot/rescue/Makefile 2009-01-12 13:28:40.000000000 +0100
  31. @@ -5,7 +5,6 @@
  32. ccflags-y += -O2 $(LINUXINCLUDE)
  33. asflags-y += $(LINUXINCLUDE)
  34. ldflags-y += -T $(srctree)/$(src)/rescue.lds
  35. -OBJCOPYFLAGS = -O binary --remove-section=.bss
  36. obj-$(CONFIG_ETRAX_AXISFLASHMAP) = head.o
  37. OBJECT := $(obj)/head.o