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
commitb68abd09c7eeacca3abf9be94321f80f66b7c290 (patch)
tree6177e504de2162ca392e327236792a3b5cf63e66
parentecee65d7f663997e57b563a0ceb9b14805ed86ee (diff)
downloadupstream-b68abd09c7eeacca3abf9be94321f80f66b7c290.tar.gz
upstream-b68abd09c7eeacca3abf9be94321f80f66b7c290.tar.bz2
upstream-b68abd09c7eeacca3abf9be94321f80f66b7c290.zip
add optimization to Freescale targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24341 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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>