summaryrefslogtreecommitdiff
path: root/target/linux/x86/alix2/target.mk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-02-01 15:31:23 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-02-01 15:31:23 +0000
commit3310df6b521c25898d7db6dcdf49b13eebd982a3 (patch)
tree1dfc48078d1326a1b1f73780cce78a6fa8d18f7c /target/linux/x86/alix2/target.mk
parent1ef07eee4ab65e70bb9f8d896d1678891ce83ddf (diff)
downloadmtk-20170518-3310df6b521c25898d7db6dcdf49b13eebd982a3.zip
mtk-20170518-3310df6b521c25898d7db6dcdf49b13eebd982a3.tar.gz
mtk-20170518-3310df6b521c25898d7db6dcdf49b13eebd982a3.tar.bz2
alix2: correct h/w configuration Bump to version 3.2. Simplify and correct kernel config (based on x86/config-3.2). Drop obsolete CS5535 GPIO driver.
[Patch from Philipp Prindeville, via http://patchwork.openwrt.org/patch/1804/] SVN-Revision: 29981
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 cece30e..d9f08f6 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