build: unify powerpc target cflags

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38213
This commit is contained in:
Felix Fietkau 2013-09-26 17:53:28 +00:00
parent ef68210f93
commit 0db9125157
6 changed files with 11 additions and 5 deletions

View File

@ -229,6 +229,12 @@ ifeq ($(DUMP),1)
CPU_CFLAGS_vfp = -mfpu=vfp -mfloat-abi=softfp CPU_CFLAGS_vfp = -mfpu=vfp -mfloat-abi=softfp
CPU_CFLAGS_vfp3 = -mfpu=vfp3-d16 -mfloat-abi=softfp CPU_CFLAGS_vfp3 = -mfpu=vfp3-d16 -mfloat-abi=softfp
endif endif
ifeq ($(ARCH),powerpc)
CPU_CFLAGS_603e:=-mcpu=603e
CPU_CFLAGS_8540:=-mcpu=8540
CPU_CFLAGS_405:=-mcpu=405
CPU_CFLAGS_440:=-mcpu=440
endif
ifeq ($(ARCH),sparc) ifeq ($(ARCH),sparc)
CPU_TYPE = sparc CPU_TYPE = sparc
CPU_CFLAGS_ultrasparc = -mcpu=ultrasparc CPU_CFLAGS_ultrasparc = -mcpu=ultrasparc

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=powerpc ARCH:=powerpc
BOARD:=mpc52xx BOARD:=mpc52xx
BOARDNAME:=Freescale MPC52xx BOARDNAME:=Freescale MPC52xx
CFLAGS:=-Os -pipe -mcpu=603e CPU_TYPE:=603e
FEATURES:=targz ext4 FEATURES:=targz ext4
LINUX_VERSION:=3.8.13 LINUX_VERSION:=3.8.13

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=powerpc ARCH:=powerpc
BOARD:=mpc83xx BOARD:=mpc83xx
BOARDNAME:=Freescale MPC83xx BOARDNAME:=Freescale MPC83xx
CFLAGS:=-Os -pipe -mcpu=603e CPU_TYPE:=603e
FEATURES:=squashfs targz FEATURES:=squashfs targz
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=powerpc ARCH:=powerpc
BOARD:=mpc85xx BOARD:=mpc85xx
BOARDNAME:=Freescale MPC85xx BOARDNAME:=Freescale MPC85xx
CFLAGS:=-Os -pipe -mcpu=8540 CPU_TYPE:=8540
FEATURES:=spe_fpu squashfs FEATURES:=spe_fpu squashfs
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
SUBTARGETS=generic p1020 SUBTARGETS=generic p1020

View File

@ -10,7 +10,7 @@ ARCH:=powerpc
BOARD:=ppc40x BOARD:=ppc40x
BOARDNAME:=AMCC/IBM PPC40x BOARDNAME:=AMCC/IBM PPC40x
FEATURES:=squashfs FEATURES:=squashfs
CFLAGS:=-Os -pipe -mcpu=405 CPU_TYPE:=405
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
LINUX_VERSION:=3.10.12 LINUX_VERSION:=3.10.12

View File

@ -10,7 +10,7 @@ ARCH:=powerpc
BOARD:=ppc44x BOARD:=ppc44x
BOARDNAME:=AMCC/IBM PPC44x BOARDNAME:=AMCC/IBM PPC44x
FEATURES:=squashfs broken FEATURES:=squashfs broken
CFLAGS:=-Os -pipe -mcpu=440 CPU_TYPE:=440
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
LINUX_VERSION:=3.10.12 LINUX_VERSION:=3.10.12