2010-10-10 22:48:33 +00:00
|
|
|
BOARDNAME:=Traverse Geos
|
2011-01-22 22:43:51 +00:00
|
|
|
FEATURES:=squashfs jffs2 ext4 pci usb gpio
|
2011-04-02 02:02:24 +00:00
|
|
|
GEOS_GPIO = $(if $(findstring 1,$(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.38)),gpio-cs5535-new,gpio-cs5535)
|
2011-01-22 22:43:51 +00:00
|
|
|
DEFAULT_PACKAGES += kmod-ata-via-sata \
|
|
|
|
kmod-crypto-hw-geode kmod-crypto-ocf \
|
2011-03-28 01:18:58 +00:00
|
|
|
kmod-$(GEOS_GPIO) kmod-gpio-nsc \
|
2010-10-10 22:48:33 +00:00
|
|
|
kmod-wdt-geode kmod-hwmon-core kmod-hwmon-lm90 \
|
|
|
|
kmod-8139cp kmod-solos-pci \
|
|
|
|
kmod-i2c-core kmod-i2c-gpio \
|
|
|
|
kmod-i2c-algo-bit kmod-i2c-algo-pca kmod-i2c-algo-pcf \
|
|
|
|
kmod-usb-core kmod-usb2 kmod-usb-uhci \
|
|
|
|
kmod-cfg80211 kmod-mac80211 \
|
|
|
|
kmod-mppe kmod-pppoe kmod-pppoa kmod-pppol2tp \
|
2011-01-22 22:43:51 +00:00
|
|
|
kmod-ath kmod-ath5k kmod-ath9k \
|
2011-03-28 21:31:02 +00:00
|
|
|
kmod-cpu-msr \
|
2011-01-22 22:43:51 +00:00
|
|
|
soloscli linux-atm br2684ctl bridge ppp ppp-mod-pppoa \
|
2011-03-28 21:31:02 +00:00
|
|
|
libopenssl ocf-crypto-headers zlib hwclock hostapd \
|
|
|
|
flashrom
|
2010-10-10 22:48:33 +00:00
|
|
|
|
|
|
|
CS5535_MASK:=0x0E000048
|
|
|
|
|
2010-10-17 12:42:06 +00:00
|
|
|
CFLAGS += -Os -pipe -march=k6-2 -fno-align-functions -fno-align-loops -fno-align-jumps \
|
2010-10-10 22:48:33 +00:00
|
|
|
-fno-align-labels
|
|
|
|
|
|
|
|
define Target/Description
|
|
|
|
Build firmware images for Traverse Geos board
|
|
|
|
endef
|
|
|
|
|
2011-03-28 01:18:58 +00:00
|
|
|
define KernelPackage/$(GEOS_GPIO)/install
|
|
|
|
sed -i -r -e 's/$$$$$$$$/ mask=$(CS5535_MASK)/' $(1)/etc/modules.d/??-$(GEOS_GPIO)
|
2010-10-10 22:48:33 +00:00
|
|
|
endef
|