diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2010-02-23 10:43:53 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2010-02-23 10:43:53 +0000 |
commit | 437f2bd5c1001f30bc06ee334f7935d0e4de2551 (patch) | |
tree | 1bb5fdbd5fee299548456da1d002b47563a78974 /target/linux/ubicom32/patches-2.6.32/140-arch_cflags.patch | |
parent | f53f060299aa3c03f0a476178704e9bd69cb3179 (diff) | |
download | upstream-437f2bd5c1001f30bc06ee334f7935d0e4de2551.tar.gz upstream-437f2bd5c1001f30bc06ee334f7935d0e4de2551.tar.bz2 upstream-437f2bd5c1001f30bc06ee334f7935d0e4de2551.zip |
add 2.6.32 support
SVN-Revision: 19823
Diffstat (limited to 'target/linux/ubicom32/patches-2.6.32/140-arch_cflags.patch')
-rw-r--r-- | target/linux/ubicom32/patches-2.6.32/140-arch_cflags.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ubicom32/patches-2.6.32/140-arch_cflags.patch b/target/linux/ubicom32/patches-2.6.32/140-arch_cflags.patch new file mode 100644 index 0000000000..aa1396e419 --- /dev/null +++ b/target/linux/ubicom32/patches-2.6.32/140-arch_cflags.patch @@ -0,0 +1,13 @@ +--- a/arch/ubicom32/Makefile ++++ b/arch/ubicom32/Makefile +@@ -54,8 +54,8 @@ CFLAGS_MODULE += -mno-fastcall + # + # Some CFLAG additions based on specific CPU type. + # +-cflags-$(CONFIG_UBICOM32_V3) := -march=ubicom32v3 -DIP5000 +-cflags-$(CONFIG_UBICOM32_V4) := -march=ubicom32v4 -DIP7000 ++cflags-$(CONFIG_UBICOM32_V3) := -march=ubicom32v3 -mno-fdpic -DIP5000 ++cflags-$(CONFIG_UBICOM32_V4) := -march=ubicom32v4 -mno-fdpic -DIP7000 + + ldflags-$(CONFIG_LINKER_RELAXATION) := --relax + LDFLAGS_vmlinux := $(ldflags-y) |