Changeset 26397


Ignore:
Timestamp:
2011-04-02T04:02:24+02:00 (7 years ago)
Author:
cshore
Message:

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@…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/x86/geos/target.mk

    r26344 r26397  
    11BOARDNAME:=Traverse Geos 
    22FEATURES:=squashfs jffs2 ext4 pci usb gpio 
    3 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.38)),1) 
    4   GEOS_GPIO:=gpio-cs5535-new 
    5 else 
    6   GEOS_GPIO:=gpio-cs5535 
    7 endif 
     3GEOS_GPIO = $(if $(findstring 1,$(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.38)),gpio-cs5535-new,gpio-cs5535) 
    84DEFAULT_PACKAGES += kmod-ata-via-sata \ 
    95            kmod-crypto-hw-geode kmod-crypto-ocf \ 
Note: See TracChangeset for help on using the changeset viewer.