Changeset 26330


Ignore:
Timestamp:
2011-03-28T03:18:58+02:00 (7 years ago)
Author:
thepeople
Message:

The Geos target (and probably others, like net5501) need to grab the new cs5535 gpio driver.

Signed-off-by: Philip Prindeville <philipp@…>

File:
1 edited

Legend:

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

    r25065 r26330  
    11BOARDNAME:=Traverse Geos 
    22FEATURES:=squashfs jffs2 ext4 pci usb gpio 
     3ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.38)),1) 
     4  GEOS_GPIO:=gpio-cs5535-new 
     5else 
     6  GEOS_GPIO:=gpio-cs5535 
     7endif 
    38DEFAULT_PACKAGES += kmod-ata-via-sata \ 
    49            kmod-crypto-hw-geode kmod-crypto-ocf \ 
    5             kmod-gpio-cs5535 kmod-gpio-nsc \ 
     10            kmod-$(GEOS_GPIO) kmod-gpio-nsc \ 
    611            kmod-wdt-geode kmod-hwmon-core kmod-hwmon-lm90 \ 
    712            kmod-8139cp kmod-solos-pci \ 
     
    2429endef 
    2530 
    26 define KernelPackage/gpio-cs5535/install 
    27      sed -i -r -e 's/$$$$$$$$/ mask=$(CS5535_MASK)/' $(1)/etc/modules.d/??-gpio-cs5535 
     31define KernelPackage/$(GEOS_GPIO)/install 
     32     sed -i -r -e 's/$$$$$$$$/ mask=$(CS5535_MASK)/' $(1)/etc/modules.d/??-$(GEOS_GPIO) 
    2833endef 
Note: See TracChangeset for help on using the changeset viewer.