Changeset 38211


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

build: unify arm target cflags

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

Location:
trunk
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/target.mk

    r38210 r38211  
    218218  ifneq ($(findstring arm,$(ARCH)),) 
    219219    CPU_TYPE ?= xscale 
     220        CPU_CFLAGS_arm920t = -march=armv4t -mtune=arm920t 
     221    CPU_CFLAGS_arm926ej-s = -march=armv5te -mtune=arm926ej-s 
     222    CPU_CFLAGS_arm1136j-s = -march=armv6 -mtune=arm1136j-s 
     223    CPU_CFLAGS_arm1176jzf-s = -march=armv6 -mtune=arm1176jzf-s 
     224    CPU_CFLAGS_cortex-a9 = -march=armv7-a -mtune=cortex-a9 
     225    CPU_CFLAGS_fa526 = -march=armv4 -mtune=fa526 
     226    CPU_CFLAGS_mpcore = -march=armv6k -mtune=mpcore 
    220227    CPU_CFLAGS_xscale = march=armv5te -mtune=xscale 
     228    CPU_CFLAGS_vfp = -mfpu=vfp -mfloat-abi=softfp 
     229    CPU_CFLAGS_vfp3 = -mfpu=vfp3-d16 -mfloat-abi=softfp 
    221230  endif 
    222231  ifeq ($(ARCH),sparc) 
  • trunk/target/linux/at91/Makefile

    r37600 r38211  
    1212BOARDNAME:=Atmel AT91 
    1313FEATURES:=squashfs targz ext2 usb 
    14 CFLAGS:=-Os -pipe -march=armv5te -mtune=arm926ej-s 
     14CPU_TYPE:=arm926ej-s 
    1515 
    1616LINUX_VERSION:=3.8.13 
  • trunk/target/linux/bcm53xx/Makefile

    r38200 r38211  
    1212FEATURES:=squashfs usb pci pcie gpio 
    1313MAINTAINER:=Hauke Mehrtens <hauke@hauke-m.de> 
     14CPU_TYPE:=cortex-a9 
     15CPU_SUBTYPE:=vfp 
    1416 
    1517LINUX_VERSION:=3.10.12 
     
    2123endef 
    2224 
    23 CFLAGS:=-Os -pipe -mtune=cortex-a9 -march=armv7-a -mfpu=vfp -mfloat-abi=softfp 
    24  
    2525KERNELNAME:="zImage dtbs" 
    2626 
  • trunk/target/linux/brcm2708/Makefile

    r38000 r38211  
    1313FEATURES:=ext4 audio usb usbgadget display gpio 
    1414MAINTAINER:=Florian Fainelli <florian@openwrt.org> 
     15CPU_TYPE:=arm1176jzf-s 
     16CPU_SUBTYPE:=vfp 
    1517 
    1618LINUX_VERSION:=3.10.12 
     
    2426endef 
    2527 
    26 CFLAGS:=-pipe -march=armv6 -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=softfp -marm 
    27  
    2828$(eval $(call BuildTarget)) 
  • trunk/target/linux/cns21xx/Makefile

    r38000 r38211  
    1111BOARDNAME:=Cavium Networks Econa CNS21xx 
    1212FEATURES:=squashfs 
    13 CFLAGS:=-Os -pipe -march=armv4 -mtune=fa526 
     13CPU_TYPE:=fa526 
    1414 
    1515LINUX_VERSION:=3.10.12 
  • trunk/target/linux/cns3xxx/Makefile

    r37600 r38211  
    1111BOARDNAME:=Cavium Networks Econa CNS3xxx 
    1212FEATURES:=squashfs fpu gpio pcie usb usbgadget 
    13 CFLAGS:=-Os -pipe -march=armv6k -mtune=mpcore -mfloat-abi=softfp -mfpu=vfp 
     13CPU_TYPE:=mpcore 
     14CPU_SUBTYPE:=vfp 
    1415MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> 
    1516 
  • trunk/target/linux/ep93xx/Makefile

    r37600 r38211  
    1111BOARDNAME:=Cirrus Logic EP93xx 
    1212FEATURES:=squashfs ext4 targz usb display sound 
    13 CFLAGS:=-Os -pipe -march=armv4t 
     13CPU_TYPE:=arm920t 
    1414MAINTAINER:=Florian Fainelli <florian@openwrt.org> 
    1515 
  • trunk/target/linux/gemini/Makefile

    r37600 r38211  
    1111BOARDNAME:=Cortina Systems CS351x 
    1212FEATURES:=squashfs pci 
    13 CFLAGS:=-Os -pipe -march=armv4 -mtune=fa526 
     13CPU_TYPE:=fa526 
    1414MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> 
    1515 
  • trunk/target/linux/imx23/Makefile

    r38000 r38211  
    1111BOARDNAME:=Freescale i.MX23 series 
    1212FEATURES:=ext4 rtc usb gpio 
    13 CFLAGS:=-Os -pipe -march=armv5te -mtune=arm926ej-s 
     13CPU_TYPE:=arm926ej-s 
     14 
    1415MAINTAINER:=Zoltan HERPAI <wigyori@uid0.hu> 
    1516LINUX_VERSION:=3.10.12 
  • trunk/target/linux/imx6/Makefile

    r38000 r38211  
    1111BOARDNAME:=Freescale i.MX 6 Series 
    1212FEATURES:=audio display gpio pcie usb usbgadget squashfs targz 
    13 CFLAGS:=-Os -pipe -mtune=cortex-a9 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp 
     13CPU_TYPE:=cortex-a9 
     14CPU_SUBTYPE:=vfp3 
    1415MAINTAINER:=Luka Perkov <luka@openwrt.org> 
    1516 
  • trunk/target/linux/mcs814x/Makefile

    r37600 r38211  
    1111BOARDNAME:=Moschip MCS814x 
    1212FEATURES:=usb squashfs 
    13 CFLAGS=-Os -pipe -march=armv5te -mtune=arm926ej-s 
     13CPU_TYPE:=arm926ej-s 
    1414MAINTAINER:=Florian Fainelli <florian@openwrt.org> 
    1515 
  • trunk/target/linux/mvebu/Makefile

    r37855 r38211  
    1111BOARDNAME:=Marvell Armada XP/370 
    1212FEATURES:=targz usb pci pcie gpio 
    13 CFLAGS:=-Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp 
     13CPU_TYPE:=cortex-a9 
     14CPU_SUBTYPE:=vfp3 
    1415 
    1516LINUX_VERSION:=3.8.13 
  • trunk/target/linux/omap24xx/Makefile

    r37600 r38211  
    1212MAINTAINER:=Michael Buesch <m@bues.ch> 
    1313FEATURES:=targz squashfs jffs2_nand usb usbgadget display gpio audio broken 
     14CPU_TYPE:=arm1136j-s 
    1415 
    1516LINUX_VERSION:=3.3.8 
     
    1920endef 
    2021 
    21 CFLAGS:=-Os -pipe -march=armv6 -mtune=arm1136j-s 
    22  
    2322KERNELNAME:="zImage" 
    2423 
  • trunk/target/linux/omap4/Makefile

    r32055 r38211  
    1111BOARDNAME:=TI OMAP4 
    1212FEATURES:=usb targz audio display 
     13CPU_TYPE:=cortex-a9 
     14CPU_SUBTYPE:=vfp3 
    1315 
    1416LINUX_VERSION:=3.3.8 
    1517 
    16 CFLAGS:=-Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp 
    1718MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> 
    1819 
  • trunk/target/linux/orion/Makefile

    r37600 r38211  
    1111BOARDNAME:=Marvell Orion 
    1212SUBTARGETS:=generic harddisk 
    13 CFLAGS=-Os -pipe -march=armv5te -mtune=xscale 
    1413MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> 
    1514 
  • trunk/target/linux/realview/Makefile

    r38000 r38211  
    1111BOARDNAME:=ARM Ltd. Realview board (qemu) 
    1212FEATURES:=fpu ramdisk 
    13 CFLAGS:=-Os -pipe -march=armv6k -mtune=mpcore -mfloat-abi=softfp -mfpu=vfp 
     13CPU_TYPE:=mpcore 
     14CPU_SUBTYPE:=vfp 
    1415MAINTAINER:=Florian Fainelli <florian@openwrt.org> 
    1516 
Note: See TracChangeset for help on using the changeset viewer.