X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/bdab2c1bd88b3fa31365e95c5d8884c74dfae5d2..60f90e846a4b46f30b3c4844f9bea59ae75fb5ab:/target/linux/x86/geos/target.mk diff --git a/target/linux/x86/geos/target.mk b/target/linux/x86/geos/target.mk index 324525fbf..b89a128fe 100644 --- a/target/linux/x86/geos/target.mk +++ b/target/linux/x86/geos/target.mk @@ -1,10 +1,6 @@ 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 +GEOS_GPIO = $(if $(findstring 2.6.32,$(LINUX_VERSION)),gpio-cs5535,gpio-cs5535-new) DEFAULT_PACKAGES += kmod-ata-via-sata \ kmod-crypto-hw-geode kmod-crypto-ocf \ kmod-$(GEOS_GPIO) kmod-gpio-nsc \