build: unify x86 target cflags

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

SVN-Revision: 38212
lede-17.01
Felix Fietkau 2013-09-26 17:53:24 +00:00
parent c8609ab4f8
commit ef68210f93
6 changed files with 5 additions and 8 deletions

View File

@ -214,6 +214,7 @@ ifeq ($(DUMP),1)
ifeq ($(ARCH),i386) ifeq ($(ARCH),i386)
CPU_TYPE ?= i486 CPU_TYPE ?= i486
CPU_CFLAGS_i486 = -march=i486 CPU_CFLAGS_i486 = -march=i486
CPU_CFLAGS_geode = -march=geode -mmmx -m3dnow
endif endif
ifneq ($(findstring arm,$(ARCH)),) ifneq ($(findstring arm,$(ARCH)),)
CPU_TYPE ?= xscale CPU_TYPE ?= xscale

View File

@ -22,8 +22,7 @@ DEFAULT_PACKAGES += \
LINUX_VERSION:=3.10.12 LINUX_VERSION:=3.10.12
CS5535_MASK:=0x0b000042 CS5535_MASK:=0x0b000042
CFLAGS += -march=geode -Os -mmmx -m3dnow -fno-align-jumps -fno-align-functions \ CPU_TYPE := geode
-fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer
define Target/Description define Target/Description
Build firmware images for PCEngines alix2 board Build firmware images for PCEngines alix2 board

View File

@ -24,8 +24,7 @@ DEFAULT_PACKAGES += \
LINUX_VERSION:=3.8.13 LINUX_VERSION:=3.8.13
CS5535_MASK:=0x0E000048 CS5535_MASK:=0x0E000048
CFLAGS += -march=geode -Os -mmmx -m3dnow -fno-align-jumps -fno-align-functions \ CPU_TYPE := geode
-fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer
define Target/Description define Target/Description
Build firmware images for Traverse Geos board Build firmware images for Traverse Geos board

View File

@ -22,8 +22,7 @@ DEFAULT_PACKAGES += kmod-crypto-hw-geode kmod-crypto-ocf \
CS5535_MASK:=0x01000040 CS5535_MASK:=0x01000040
CFLAGS += -march=geode -Os -mmmx -m3dnow -fno-align-jumps -fno-align-functions \ CPU_TYPE := geode
-fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer
define Target/Description define Target/Description
Build firmware images for Soekris net5501 board Build firmware images for Soekris net5501 board

View File

@ -1,6 +1,5 @@
BOARDNAME:=RDC R-321x BOARDNAME:=RDC R-321x
FEATURES:=squashfs pci usb gpio pcmcia FEATURES:=squashfs pci usb gpio pcmcia
CFLAGS:=-Os -pipe -march=i486 -mtune=i486
MAINTAINER:=Florian Fainelli <florian@openwrt.org> MAINTAINER:=Florian Fainelli <florian@openwrt.org>
DEFAULT_PACKAGES += kmod-llc kmod-stp kmod-bridge kmod-8021q \ DEFAULT_PACKAGES += kmod-llc kmod-stp kmod-bridge kmod-8021q \

View File

@ -1,7 +1,7 @@
DEVICE_TYPE:=terminal DEVICE_TYPE:=terminal
BOARDNAME:=Artec ThinCan BOARDNAME:=Artec ThinCan
CFLAGS := -O2 -pipe -march=geode -mtune=geode -funit-at-a-time CPU_TYPE := geode
DEFAULT_PACKAGES:=\ DEFAULT_PACKAGES:=\
base-files \ base-files \