aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-14 03:17:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-14 03:17:06 +0000
commit019e6e2d31c2ca7ee9619e999bc2ccd8ae23e9b9 (patch)
tree6c94165b9cfec5329ff554b23efbaa04b1d7bb86 /target/linux
parentbf1673f285dd397f8f18a4d7ee1c8c4ccb784535 (diff)
downloadupstream-019e6e2d31c2ca7ee9619e999bc2ccd8ae23e9b9.tar.gz
upstream-019e6e2d31c2ca7ee9619e999bc2ccd8ae23e9b9.tar.bz2
upstream-019e6e2d31c2ca7ee9619e999bc2ccd8ae23e9b9.zip
move cflags default setting to target makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14866 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/Makefile1
-rw-r--r--target/linux/storm/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile
index 948c4615cf..07792ffdd4 100644
--- a/target/linux/ar71xx/Makefile
+++ b/target/linux/ar71xx/Makefile
@@ -10,6 +10,7 @@ ARCH:=mips
BOARD:=ar71xx
BOARDNAME:=Atheros AR71xx/AR913x
FEATURES:=squashfs tgz
+CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time
LINUX_VERSION:=2.6.28.7
diff --git a/target/linux/storm/Makefile b/target/linux/storm/Makefile
index abd6b0cc38..6138feb236 100644
--- a/target/linux/storm/Makefile
+++ b/target/linux/storm/Makefile
@@ -10,6 +10,7 @@ ARCH:=arm
BOARD:=storm
BOARDNAME:=Storm SL3512
FEATURES:=squashfs pci broken
+CFLAGS:=-Os -pipe -march=armv4 -mtune=arm9tdmi -funit-at-a-time
LINUX_VERSION:=2.6.23.17