From: Jo-Philipp Wich Date: Fri, 3 Feb 2012 14:19:29 +0000 (+0000) Subject: net5501: adjust CFLAGS and package selection (#10893) This patches the CFLAGS for... X-Git-Tag: reboot~15002 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d13c3cd0739691803d758629a9c2750512a98bb3;p=oweals%2Fopenwrt.git net5501: adjust CFLAGS and package selection (#10893) 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 --- diff --git a/target/linux/x86/net5501/target.mk b/target/linux/x86/net5501/target.mk index cdef2bb905..f92496ee26 100644 --- a/target/linux/x86/net5501/target.mk +++ b/target/linux/x86/net5501/target.mk @@ -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