Changeset 38212


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

build: unify x86 target cflags

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

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/target.mk

    r38211 r38212  
    215215    CPU_TYPE ?= i486 
    216216    CPU_CFLAGS_i486 = -march=i486 
     217    CPU_CFLAGS_geode = -march=geode -mmmx -m3dnow 
    217218  endif 
    218219  ifneq ($(findstring arm,$(ARCH)),) 
  • trunk/target/linux/x86/alix2/target.mk

    r38000 r38212  
    2323CS5535_MASK:=0x0b000042 
    2424 
    25 CFLAGS += -march=geode -Os -mmmx -m3dnow -fno-align-jumps -fno-align-functions \ 
    26         -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer 
     25CPU_TYPE := geode 
    2726 
    2827define Target/Description 
  • trunk/target/linux/x86/geos/target.mk

    r36863 r38212  
    2525CS5535_MASK:=0x0E000048 
    2626 
    27 CFLAGS += -march=geode -Os -mmmx -m3dnow -fno-align-jumps -fno-align-functions \ 
    28         -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer 
     27CPU_TYPE := geode 
    2928 
    3029define Target/Description 
  • trunk/target/linux/x86/net5501/target.mk

    r36863 r38212  
    2323CS5535_MASK:=0x01000040 
    2424 
    25 CFLAGS += -march=geode -Os -mmmx -m3dnow -fno-align-jumps -fno-align-functions \ 
    26           -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer 
     25CPU_TYPE := geode 
    2726 
    2827define Target/Description 
  • trunk/target/linux/x86/rdc/target.mk

    r37600 r38212  
    11BOARDNAME:=RDC R-321x 
    22FEATURES:=squashfs pci usb gpio pcmcia 
    3 CFLAGS:=-Os -pipe -march=i486 -mtune=i486 
    43MAINTAINER:=Florian Fainelli <florian@openwrt.org> 
    54 
  • trunk/target/linux/x86/thincan/target.mk

    r31803 r38212  
    22BOARDNAME:=Artec ThinCan 
    33 
    4 CFLAGS := -O2 -pipe -march=geode -mtune=geode -funit-at-a-time 
     4CPU_TYPE := geode 
    55 
    66DEFAULT_PACKAGES:=\ 
Note: See TracChangeset for help on using the changeset viewer.