X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ba10982e1d9735fab43b38dd6e4f267e9d89d8a9..c8ba3d408b7864e8d9b2cef9d367b862b6a6a3d6:/target/linux/x86/geos/target.mk diff --git a/target/linux/x86/geos/target.mk b/target/linux/x86/geos/target.mk index faf616690..e1671beb2 100644 --- a/target/linux/x86/geos/target.mk +++ b/target/linux/x86/geos/target.mk @@ -1,13 +1,9 @@ BOARDNAME:=Traverse Geos FEATURES:=squashfs jffs2 ext4 pci usb gpio -ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.38)),1) - GEOS_GPIO:=gpio-cs5535-new -else - GEOS_GPIO:=gpio-cs5535 -endif -DEFAULT_PACKAGES += kmod-ata-via-sata \ +GEOS_GPIO = $(if $(findstring 2.6.32,$(LINUX_VERSION)),gpio-cs5535,gpio-cs5535-new) +DEFAULT_PACKAGES += \ kmod-crypto-hw-geode kmod-crypto-ocf \ - kmod-$(GEOS_GPIO) kmod-gpio-nsc \ + kmod-$(GEOS_GPIO) \ kmod-wdt-geode kmod-hwmon-core kmod-hwmon-lm90 \ kmod-8139cp kmod-solos-pci \ kmod-i2c-core kmod-i2c-gpio \ @@ -16,8 +12,10 @@ DEFAULT_PACKAGES += kmod-ata-via-sata \ kmod-cfg80211 kmod-mac80211 \ kmod-mppe kmod-pppoe kmod-pppoa kmod-pppol2tp \ kmod-ath kmod-ath5k kmod-ath9k \ + kmod-cpu-msr \ soloscli linux-atm br2684ctl bridge ppp ppp-mod-pppoa \ - libopenssl ocf-crypto-headers zlib hwclock hostapd + libopenssl ocf-crypto-headers zlib hwclock hostapd \ + flashrom CS5535_MASK:=0x0E000048