source: trunk/target/linux/x86/geos/target.mk @ 26458

Last change on this file since 26458 was 26458, checked in by nbd, 6 years ago

x86/geos: redux of cs5535 version

The previous technique didn't work with "make defconfig" correctly.

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

File size: 1.2 KB
Line 
1BOARDNAME:=Traverse Geos
2FEATURES:=squashfs jffs2 ext4 pci usb gpio
3GEOS_GPIO = $(if $(findstring 2.6.32,$(LINUX_VERSION)),gpio-cs5535,gpio-cs5535-new)
4DEFAULT_PACKAGES += kmod-ata-via-sata \
5            kmod-crypto-hw-geode kmod-crypto-ocf \
6            kmod-$(GEOS_GPIO) kmod-gpio-nsc \
7            kmod-wdt-geode kmod-hwmon-core kmod-hwmon-lm90 \
8            kmod-8139cp kmod-solos-pci \
9            kmod-i2c-core kmod-i2c-gpio \
10            kmod-i2c-algo-bit kmod-i2c-algo-pca kmod-i2c-algo-pcf \
11            kmod-usb-core kmod-usb2 kmod-usb-uhci \
12            kmod-cfg80211 kmod-mac80211 \
13            kmod-mppe kmod-pppoe kmod-pppoa kmod-pppol2tp \
14            kmod-ath kmod-ath5k kmod-ath9k \
15            kmod-cpu-msr \
16            soloscli linux-atm br2684ctl bridge ppp ppp-mod-pppoa \
17            libopenssl ocf-crypto-headers zlib hwclock hostapd \
18            flashrom
19
20CS5535_MASK:=0x0E000048
21
22CFLAGS += -Os -pipe -march=k6-2 -fno-align-functions -fno-align-loops -fno-align-jumps \
23      -fno-align-labels
24
25define Target/Description
26    Build firmware images for Traverse Geos board
27endef
28
29define KernelPackage/$(GEOS_GPIO)/install
30     sed -i -r -e 's/$$$$$$$$/ mask=$(CS5535_MASK)/' $(1)/etc/modules.d/??-$(GEOS_GPIO)
31endef
Note: See TracBrowser for help on using the repository browser.