43924a3b2a9044ea561cbac36ad543c2f754b0d9
[openwrt/staging/yousong.git] / target / linux / x86 / geos / target.mk
1 BOARDNAME:=Traverse Geos
2 FEATURES:=squashfs jffs2 ext4 pci usb gpio
3 GEOS_GPIO = $(if $(findstring 2.6.32,$(LINUX_VERSION)),gpio-cs5535,gpio-cs5535-new)
4 DEFAULT_PACKAGES += \
5 kmod-crypto-hw-geode kmod-crypto-ocf \
6 kmod-$(GEOS_GPIO) \
7 kmod-wdt-geode kmod-cs5535-clockevt kmod-cs5535-mfgpt \
8 kmod-cs5536 \
9 kmod-hwmon-core kmod-hwmon-lm90 \
10 kmod-8139cp kmod-solos-pci \
11 kmod-i2c-core kmod-i2c-gpio \
12 kmod-i2c-algo-bit kmod-i2c-algo-pca kmod-i2c-algo-pcf \
13 kmod-usb-core kmod-usb2 kmod-usb-ohci \
14 kmod-cfg80211 kmod-mac80211 \
15 kmod-mppe kmod-pppoe kmod-pppoa kmod-pppol2tp \
16 kmod-ath kmod-ath5k kmod-ath9k \
17 kmod-cpu-msr \
18 soloscli linux-atm br2684ctl bridge ppp ppp-mod-pppoa \
19 libopenssl ocf-crypto-headers zlib hwclock hostapd \
20 flashrom
21
22 CS5535_MASK:=0x0E000048
23
24 CFLAGS += -Os -pipe -march=k6-2 -fno-align-functions -fno-align-loops -fno-align-jumps \
25 -fno-align-labels
26
27 define Target/Description
28 Build firmware images for Traverse Geos board
29 endef
30
31 define KernelPackage/$(GEOS_GPIO)/install
32 sed -i -r -e 's/$$$$$$$$/ mask=$(CS5535_MASK)/' $(1)/etc/modules.d/??-$(GEOS_GPIO)
33 endef