[ps3]: Update default configuration to use profiles
[openwrt.git] / target / linux / etrax / patches-2.6.28 / 100-cris-makefiles.patch
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
4 @@ -40,7 +40,7 @@
5
6 LD = $(CROSS_COMPILE)ld -mcrislinux
7
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
10
11 CPPFLAGS_vmlinux.lds = -DDRAM_VIRTUAL_BASE=0x$(CONFIG_ETRAX_DRAM_VIRTUAL_BASE)
12
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
16 @@ -2,8 +2,6 @@
17 # arch/cris/arch-v10/boot/Makefile
18 #
19
20 -OBJCOPYFLAGS = -O binary --remove-section=.bss
21 -
22 subdir- := compressed rescue
23 targets := Image
24
25 @@ -13,7 +11,7 @@
26
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
31
32 $(obj)/zImage: $(obj)/compressed/vmlinux
33 @cp $< $@
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
37 @@ -6,7 +6,6 @@
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
42
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
48 @@ -5,7 +5,6 @@
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
55
This page took 0.055022 seconds and 5 git commands to generate.