aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/geos
diff options
context:
space:
mode:
authorDaniel Dickinson <daniel@cshore.neomailbox.net>2011-04-02 02:02:24 +0000
committerDaniel Dickinson <daniel@cshore.neomailbox.net>2011-04-02 02:02:24 +0000
commit9e43700e4e17e8e3b80d3930cd4ec1e7c7189ce5 (patch)
tree086e4876902200b809d15738dc0901091a9540d2 /target/linux/x86/geos
parent3506b552674b05a5e5604220c1a09e40143a2cf1 (diff)
downloadmaster-187ad058-9e43700e4e17e8e3b80d3930cd4ec1e7c7189ce5.tar.gz
master-187ad058-9e43700e4e17e8e3b80d3930cd4ec1e7c7189ce5.tar.bz2
master-187ad058-9e43700e4e17e8e3b80d3930cd4ec1e7c7189ce5.zip
We $(PLATFORM_SUBDIR)/target.mk gets included, include/kernel-version.mk hasn't yet been included... therefore KERNEL_PATCHVER hasn't yet been defined.
Ergo, we need to use a deferred definition of GEOS_GPIO (and can't use ifeq/endif). Signed-off-by: Philip Prindeville <philipp@openwrt.org git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26397 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86/geos')
-rw-r--r--target/linux/x86/geos/target.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/target/linux/x86/geos/target.mk b/target/linux/x86/geos/target.mk
index 324525fbf9..4c03eca65f 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 1,$(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.38)),gpio-cs5535-new,gpio-cs5535)
DEFAULT_PACKAGES += kmod-ata-via-sata \
kmod-crypto-hw-geode kmod-crypto-ocf \
kmod-$(GEOS_GPIO) kmod-gpio-nsc \