aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/etrax/patches-2.6.32/100-cris-makefiles.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/etrax/patches-2.6.32/100-cris-makefiles.patch')
-rw-r--r--target/linux/etrax/patches-2.6.32/100-cris-makefiles.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/etrax/patches-2.6.32/100-cris-makefiles.patch b/target/linux/etrax/patches-2.6.32/100-cris-makefiles.patch
index f837ff58fe..fbcb7fa05b 100644
--- a/target/linux/etrax/patches-2.6.32/100-cris-makefiles.patch
+++ b/target/linux/etrax/patches-2.6.32/100-cris-makefiles.patch
@@ -49,5 +49,5 @@
-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)
-
+ KBUILD_AFLAGS += -mlinux -march=$(arch-y) $(inc)
+ KBUILD_CFLAGS += -mlinux -march=$(arch-y) -pipe $(inc)