X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/bdab2c1bd88b3fa31365e95c5d8884c74dfae5d2..15f719295ee782f4241c007e457eade247866ead:/target/linux/x86/geos/target.mk diff --git a/target/linux/x86/geos/target.mk b/target/linux/x86/geos/target.mk index 324525fbf..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 \