[x86] net5501: adjust CFLAGS and package selection (#10893)
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 3 Feb 2012 14:19:29 +0000 (14:19 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 3 Feb 2012 14:19:29 +0000 (14:19 +0000)
This patches the CFLAGS for Geode LX CPUs for 4.3 and new GGC versions. This creates more compatible code and allowed me to boot my system first time with no troubles. Also, the missing kmod is added in.

SVN-Revision: 30013

target/linux/x86/net5501/target.mk

index cdef2bb90551e2e0e1012a95a236ff029fc594b8..f92496ee26bcb69ca14aa7f83f24b04ad9ca7529 100644 (file)
@@ -15,7 +15,7 @@ DEFAULT_PACKAGES += kmod-crypto-hw-geode kmod-crypto-ocf \
                        kmod-mppe kmod-pppoe kmod-pppoa kmod-pppo2ltp \
                        kmod-ath kmod-ath5k kmod-ath9k \
                        kmod-leds-gpio kmod-input-gpio-keys-polled \
-                       kmod-button-hotplug \
+                       kmod-button-hotplug kmod-leds-net5501 \
                        kmod-ledtrig-heartbeat kmod-ledtrig-gpio \
                        kmod-ledtrig-netdev \
                        kmod-cpu-msr \
@@ -23,8 +23,8 @@ DEFAULT_PACKAGES += kmod-crypto-hw-geode kmod-crypto-ocf \
 
 CS5535_MASK:=0x01000040
 
-CFLAGS += -Os -pipe -march=k6-2 -fno-align-functions -fno-align-loops -fno-align-jumps \
-         -fno-align-labels
+CFLAGS += -march=geode -Os -mmmx -m3dnow -fno-align-jumps -fno-align-functions \
+         -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer
 
 define Target/Description
        Build firmware images for Soekris net5501 board