Changeset 38213


Ignore:
Timestamp:
2013-09-26T19:53:28+02:00 (4 years ago)
Author:
nbd
Message:

build: unify powerpc target cflags

Signed-off-by: Felix Fietkau <nbd@…>

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/target.mk

    r38212 r38213  
    229229    CPU_CFLAGS_vfp = -mfpu=vfp -mfloat-abi=softfp 
    230230    CPU_CFLAGS_vfp3 = -mfpu=vfp3-d16 -mfloat-abi=softfp 
     231  endif 
     232  ifeq ($(ARCH),powerpc) 
     233    CPU_CFLAGS_603e:=-mcpu=603e 
     234    CPU_CFLAGS_8540:=-mcpu=8540 
     235    CPU_CFLAGS_405:=-mcpu=405 
     236    CPU_CFLAGS_440:=-mcpu=440 
    231237  endif 
    232238  ifeq ($(ARCH),sparc) 
  • trunk/target/linux/mpc52xx/Makefile

    r37600 r38213  
    1010BOARD:=mpc52xx 
    1111BOARDNAME:=Freescale MPC52xx 
    12 CFLAGS:=-Os -pipe -mcpu=603e 
     12CPU_TYPE:=603e 
    1313FEATURES:=targz ext4 
    1414 
  • trunk/target/linux/mpc83xx/Makefile

    r37600 r38213  
    1010BOARD:=mpc83xx 
    1111BOARDNAME:=Freescale MPC83xx 
    12 CFLAGS:=-Os -pipe -mcpu=603e 
     12CPU_TYPE:=603e 
    1313FEATURES:=squashfs targz 
    1414MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> 
  • trunk/target/linux/mpc85xx/Makefile

    r38000 r38213  
    1010BOARD:=mpc85xx 
    1111BOARDNAME:=Freescale MPC85xx 
    12 CFLAGS:=-Os -pipe -mcpu=8540 
     12CPU_TYPE:=8540 
    1313FEATURES:=spe_fpu squashfs 
    1414MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> 
  • trunk/target/linux/ppc40x/Makefile

    r38000 r38213  
    1111BOARDNAME:=AMCC/IBM PPC40x 
    1212FEATURES:=squashfs 
    13 CFLAGS:=-Os -pipe -mcpu=405 
     13CPU_TYPE:=405 
    1414MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> 
    1515 
  • trunk/target/linux/ppc44x/Makefile

    r38162 r38213  
    1111BOARDNAME:=AMCC/IBM PPC44x 
    1212FEATURES:=squashfs broken 
    13 CFLAGS:=-Os -pipe -mcpu=440 
     13CPU_TYPE:=440 
    1414MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> 
    1515 
Note: See TracChangeset for help on using the changeset viewer.