diff options
author | Claudio Mignanti <c.mignanti@gmail.com> | 2009-05-09 13:15:16 +0000 |
---|---|---|
committer | Claudio Mignanti <c.mignanti@gmail.com> | 2009-05-09 13:15:16 +0000 |
commit | da1158659fa0998c456eb314ef0c429f0e6d0e36 (patch) | |
tree | 09283c01464bb31988cd255ca3d40a872e827aad /target/linux/etrax/patches-2.6.30/100-cris-makefiles.patch | |
parent | a866aa0226623465b2f37e82d00437082d875f69 (diff) | |
download | upstream-da1158659fa0998c456eb314ef0c429f0e6d0e36.tar.gz upstream-da1158659fa0998c456eb314ef0c429f0e6d0e36.tar.bz2 upstream-da1158659fa0998c456eb314ef0c429f0e6d0e36.zip |
add patches for 2.6.30, remove config-default
SVN-Revision: 15743
Diffstat (limited to 'target/linux/etrax/patches-2.6.30/100-cris-makefiles.patch')
-rw-r--r-- | target/linux/etrax/patches-2.6.30/100-cris-makefiles.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/target/linux/etrax/patches-2.6.30/100-cris-makefiles.patch b/target/linux/etrax/patches-2.6.30/100-cris-makefiles.patch new file mode 100644 index 0000000000..bf43914f73 --- /dev/null +++ b/target/linux/etrax/patches-2.6.30/100-cris-makefiles.patch @@ -0,0 +1,51 @@ +--- a/arch/cris/Makefile ++++ b/arch/cris/Makefile +@@ -40,7 +40,7 @@ endif + + LD = $(CROSS_COMPILE)ld -mcrislinux + +-OBJCOPYFLAGS := -O binary -R .note -R .comment -S ++OBJCOPYFLAGS := -O binary -R .bss -R .note -R .note.gnu.build-id -R .comment -S + + CPPFLAGS_vmlinux.lds = -DDRAM_VIRTUAL_BASE=0x$(CONFIG_ETRAX_DRAM_VIRTUAL_BASE) + +--- a/arch/cris/arch-v10/boot/Makefile ++++ b/arch/cris/arch-v10/boot/Makefile +@@ -2,8 +2,6 @@ + # arch/cris/arch-v10/boot/Makefile + # + +-OBJCOPYFLAGS = -O binary --remove-section=.bss +- + subdir- := compressed rescue + targets := Image + +@@ -13,7 +11,7 @@ $(obj)/Image: vmlinux FORCE + + $(obj)/compressed/vmlinux: $(obj)/Image FORCE + $(Q)$(MAKE) $(build)=$(obj)/compressed $@ +- $(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin ++# $(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin + + $(obj)/zImage: $(obj)/compressed/vmlinux + @cp $< $@ +--- a/arch/cris/arch-v10/boot/compressed/Makefile ++++ b/arch/cris/arch-v10/boot/compressed/Makefile +@@ -6,7 +6,6 @@ asflags-y += $(LINUXINCLUDE) + 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 > $@ +--- a/arch/cris/arch-v10/boot/rescue/Makefile ++++ b/arch/cris/arch-v10/boot/rescue/Makefile +@@ -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 + |