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
commit72faa09dff0e69a6a1d4cbd0e0078573a242c817 (patch)
treebdbb327e505b6edf83ca1d991402895b4ac1a484 /target/linux
parent494110052361221257ab37c2f19d3ab32a1608eb (diff)
downloadupstream-72faa09dff0e69a6a1d4cbd0e0078573a242c817.tar.gz
upstream-72faa09dff0e69a6a1d4cbd0e0078573a242c817.tar.bz2
upstream-72faa09dff0e69a6a1d4cbd0e0078573a242c817.zip
move cflags default setting to target makefiles
SVN-Revision: 14866
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