aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/alix2/target.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/x86/alix2/target.mk')
-rw-r--r--target/linux/x86/alix2/target.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/x86/alix2/target.mk b/target/linux/x86/alix2/target.mk
index cece30e173..d9f08f6dba 100644
--- a/target/linux/x86/alix2/target.mk
+++ b/target/linux/x86/alix2/target.mk
@@ -1,9 +1,9 @@
+LINUX_VERSION:=3.2.1
BOARDNAME:=PCEngines alix2
FEATURES:=squashfs jffs2 ext4 pci usb gpio
-ALIX2_GPIO = $(if $(findstring 2.6.32,$(LINUX_VERSION)),gpio-cs5535,gpio-cs5535-new)
DEFAULT_PACKAGES += \
kmod-crypto-hw-geode kmod-crypto-ocf \
- kmod-$(ALIX2_GPIO) kmod-gpio-nsc \
+ kmod-gpio-cs5535-new kmod-gpio-nsc \
kmod-wdt-geode kmod-cs5535-clockevt kmod-cs5535-mfgpt \
kmod-cs5536 \
kmod-hwmon-core kmod-hwmon-lm90 \
@@ -32,6 +32,6 @@ define Target/Description
Build firmware images for PCEngines alix2 board
endef
-define KernelPackage/$(ALIX2_GPIO)/install
- sed -i -r -e 's/$$$$$$$$/ mask=$(CS5535_MASK)/' $(1)/etc/modules.d/??-$(ALIX2_GPIO)
+define KernelPackage/gpio-cs5535-new/install
+ sed -i -r -e 's/$$$$$$$$/ mask=$(CS5535_MASK)/' $(1)/etc/modules.d/??-gpio-cs5535-new
endef