Skip to content
Snippets Groups Projects
Commit eb502bf4 authored by Daniel Dickinson's avatar Daniel Dickinson
Browse files

We $(PLATFORM_SUBDIR)/target.mk gets included, include/kernel-version.mk...

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: default avatarPhilip Prindeville <philipp@openwrt.org>

SVN-Revision: 26397
parent 8becf174
No related branches found
No related tags found
No related merge requests found
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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment