aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2010-12-08 11:27:06 +0000
committerImre Kaloz <kaloz@openwrt.org>2010-12-08 11:27:06 +0000
commit502dc1cb39aaf57dd057cda3999a25eff39f963b (patch)
treebd683c1079b4f1e24799606ac90135b8a6513926
parent502d21dc2a76e02daa9a35334ce1f5feaf5fb242 (diff)
downloadupstream-502dc1cb39aaf57dd057cda3999a25eff39f963b.tar.gz
upstream-502dc1cb39aaf57dd057cda3999a25eff39f963b.tar.bz2
upstream-502dc1cb39aaf57dd057cda3999a25eff39f963b.zip
add optimization to Freescale targets
SVN-Revision: 24341
-rw-r--r--target/linux/mpc52xx/Makefile1
-rw-r--r--target/linux/mpc83xx/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/mpc52xx/Makefile b/target/linux/mpc52xx/Makefile
index 152e51e583..b4649e45c4 100644
--- a/target/linux/mpc52xx/Makefile
+++ b/target/linux/mpc52xx/Makefile
@@ -9,6 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=powerpc
BOARD:=mpc52xx
BOARDNAME:=Freescale MPC52xx
+CFLAGS:=-Os -pipe -funit-at-a-time -mcpu=603e
FEATURES:=targz ext4
LINUX_VERSION:=2.6.30.10
diff --git a/target/linux/mpc83xx/Makefile b/target/linux/mpc83xx/Makefile
index f13a961ca5..40ed374fa9 100644
--- a/target/linux/mpc83xx/Makefile
+++ b/target/linux/mpc83xx/Makefile
@@ -9,6 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=powerpc
BOARD:=mpc83xx
BOARDNAME:=Freescale MPC83xx
+CFLAGS:=-Os -pipe -funit-at-a-time -mcpu=603e
FEATURES:=squashfs targz broken
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>