From 502dc1cb39aaf57dd057cda3999a25eff39f963b Mon Sep 17 00:00:00 2001
From: Imre Kaloz <kaloz@openwrt.org>
Date: Wed, 8 Dec 2010 11:27:06 +0000
Subject: [PATCH] add optimization to Freescale targets

SVN-Revision: 24341
---
 target/linux/mpc52xx/Makefile | 1 +
 target/linux/mpc83xx/Makefile | 1 +
 2 files changed, 2 insertions(+)

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>
 
-- 
GitLab