aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-09-26 17:53:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-09-26 17:53:28 +0000
commit9f5f79d806bbdc3c834f9c05e26b99e82519a4c9 (patch)
treeec3a57beade90b3c08172405daf0d703749cccbd /target/linux
parent19c76be50dee5aaf5ddd8a938e818b3288d742df (diff)
downloadupstream-9f5f79d806bbdc3c834f9c05e26b99e82519a4c9.tar.gz
upstream-9f5f79d806bbdc3c834f9c05e26b99e82519a4c9.tar.bz2
upstream-9f5f79d806bbdc3c834f9c05e26b99e82519a4c9.zip
build: unify powerpc target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38213 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/mpc52xx/Makefile2
-rw-r--r--target/linux/mpc83xx/Makefile2
-rw-r--r--target/linux/mpc85xx/Makefile2
-rw-r--r--target/linux/ppc40x/Makefile2
-rw-r--r--target/linux/ppc44x/Makefile2
5 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/mpc52xx/Makefile b/target/linux/mpc52xx/Makefile
index 7b07058944..a965773078 100644
--- a/target/linux/mpc52xx/Makefile
+++ b/target/linux/mpc52xx/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=powerpc
BOARD:=mpc52xx
BOARDNAME:=Freescale MPC52xx
-CFLAGS:=-Os -pipe -mcpu=603e
+CPU_TYPE:=603e
FEATURES:=targz ext4
LINUX_VERSION:=3.8.13
diff --git a/target/linux/mpc83xx/Makefile b/target/linux/mpc83xx/Makefile
index 1bb0d34bbc..4c25049ee5 100644
--- a/target/linux/mpc83xx/Makefile
+++ b/target/linux/mpc83xx/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=powerpc
BOARD:=mpc83xx
BOARDNAME:=Freescale MPC83xx
-CFLAGS:=-Os -pipe -mcpu=603e
+CPU_TYPE:=603e
FEATURES:=squashfs targz
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
diff --git a/target/linux/mpc85xx/Makefile b/target/linux/mpc85xx/Makefile
index c8ae94daf0..278cdee345 100644
--- a/target/linux/mpc85xx/Makefile
+++ b/target/linux/mpc85xx/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=powerpc
BOARD:=mpc85xx
BOARDNAME:=Freescale MPC85xx
-CFLAGS:=-Os -pipe -mcpu=8540
+CPU_TYPE:=8540
FEATURES:=spe_fpu squashfs
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
SUBTARGETS=generic p1020
diff --git a/target/linux/ppc40x/Makefile b/target/linux/ppc40x/Makefile
index 29982df190..947c8ebb22 100644
--- a/target/linux/ppc40x/Makefile
+++ b/target/linux/ppc40x/Makefile
@@ -10,7 +10,7 @@ ARCH:=powerpc
BOARD:=ppc40x
BOARDNAME:=AMCC/IBM PPC40x
FEATURES:=squashfs
-CFLAGS:=-Os -pipe -mcpu=405
+CPU_TYPE:=405
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
LINUX_VERSION:=3.10.12
diff --git a/target/linux/ppc44x/Makefile b/target/linux/ppc44x/Makefile
index 661eebc4cb..6c48c01944 100644
--- a/target/linux/ppc44x/Makefile
+++ b/target/linux/ppc44x/Makefile
@@ -10,7 +10,7 @@ ARCH:=powerpc
BOARD:=ppc44x
BOARDNAME:=AMCC/IBM PPC44x
FEATURES:=squashfs broken
-CFLAGS:=-Os -pipe -mcpu=440
+CPU_TYPE:=440
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
LINUX_VERSION:=3.10.12