1 diff -urN linux-2.6.28.clean/arch/cris/Makefile linux-2.6.28.mod/arch/cris/Makefile
2 --- linux-2.6.28.clean/arch/cris/Makefile 2008-12-25 00:26:37.000000000 +0100
3 +++ linux-2.6.28.mod/arch/cris/Makefile 2009-04-07 11:52:30.000000000 +0200
6 LD = $(CROSS_COMPILE)ld -mcrislinux
8 -OBJCOPYFLAGS := -O binary -R .note -R .comment -S
9 +OBJCOPYFLAGS := -O binary -R .bss -R .note -R .note.gnu.build-id -R .comment -S
11 CPPFLAGS_vmlinux.lds = -DDRAM_VIRTUAL_BASE=0x$(CONFIG_ETRAX_DRAM_VIRTUAL_BASE)
13 diff -urN linux-2.6.28.clean/arch/cris/arch-v10/boot/Makefile linux-2.6.28.mod/arch/cris/arch-v10/boot/Makefile
14 --- linux-2.6.28.clean/arch/cris/arch-v10/boot/Makefile 2008-12-25 00:26:37.000000000 +0100
15 +++ linux-2.6.28.mod/arch/cris/arch-v10/boot/Makefile 2009-04-07 11:55:01.000000000 +0200
17 # arch/cris/arch-v10/boot/Makefile
20 -OBJCOPYFLAGS = -O binary --remove-section=.bss
22 subdir- := compressed rescue
27 $(obj)/compressed/vmlinux: $(obj)/Image FORCE
28 $(Q)$(MAKE) $(build)=$(obj)/compressed $@
29 - $(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin
30 +# $(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin
32 $(obj)/zImage: $(obj)/compressed/vmlinux
34 diff -urN linux-2.6.28.clean/arch/cris/arch-v10/boot/compressed/Makefile linux-2.6.28.mod/arch/cris/arch-v10/boot/compressed/Makefile
35 --- linux-2.6.28.clean/arch/cris/arch-v10/boot/compressed/Makefile 2008-12-25 00:26:37.000000000 +0100
36 +++ linux-2.6.28.mod/arch/cris/arch-v10/boot/compressed/Makefile 2009-04-07 11:53:02.000000000 +0200
38 ccflags-y += -O2 $(LINUXINCLUDE)
39 ldflags-y += -T $(srctree)/$(src)/decompress.lds
40 OBJECTS = $(obj)/head.o $(obj)/misc.o
41 -OBJCOPYFLAGS = -O binary --remove-section=.bss
43 quiet_cmd_image = BUILD $@
44 cmd_image = cat $(obj)/decompress.bin $(obj)/piggy.gz > $@
45 diff -urN linux-2.6.28.clean/arch/cris/arch-v10/boot/rescue/Makefile linux-2.6.28.mod/arch/cris/arch-v10/boot/rescue/Makefile
46 --- linux-2.6.28.clean/arch/cris/arch-v10/boot/rescue/Makefile 2008-12-25 00:26:37.000000000 +0100
47 +++ linux-2.6.28.mod/arch/cris/arch-v10/boot/rescue/Makefile 2009-04-07 11:53:09.000000000 +0200
49 ccflags-y += -O2 $(LINUXINCLUDE)
50 asflags-y += $(LINUXINCLUDE)
51 ldflags-y += -T $(srctree)/$(src)/rescue.lds
52 -OBJCOPYFLAGS = -O binary --remove-section=.bss
53 obj-$(CONFIG_ETRAX_AXISFLASHMAP) = head.o
54 OBJECT := $(obj)/head.o