geos: remove unneeded modules The via-sata and gpio-nsc modules are both unneeded...
[librecmc/librecmc.git] / target / linux / x86 / geos / target.mk
index 324525fbf9e7900a26e50021abc650b96b9a6406..e1671beb244cb85ea729c3beec229110ab513ed6 100644 (file)
@@ -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 \