[PATCH] net5501: correct net5501 h/w configuration
[openwrt/svn-archive/archive.git] / target / linux / x86 / net5501 / target.mk
1 LINUX_VERSION:=3.2.1
2 BOARDNAME:=Soekris net5501
3 FEATURES:=squashfs jffs2 ext4 pci usb gpio
4 DEFAULT_PACKAGES += kmod-crypto-hw-geode kmod-crypto-ocf \
5 kmod-gpio-cs5535-new kmod-gpio-nsc \
6 kmod-wdt-geode kmod-cs5535-clockevt kmod-cs5535-mfgpt \
7 kmod-cs5536 \
8 kmod-hwmon-core kmod-hwmon-pc87360 kmod-gpio-pc8736x \
9 kmod-via-rhine kmod-solos-pci \
10 kmod-i2c-core kmod-i2c-gpio \
11 kmod-i2c-algo-bit kmod-i2c-algo-pca kmod-i2c-algo-pcf \
12 kmod-i2c-scx200-acb \
13 kmod-usb-core kmod-usb2 kmod-usb-ohci \
14 kmod-cfg80211 kmod-mac80211 \
15 kmod-mppe kmod-pppoe kmod-pppoa kmod-pppo2ltp \
16 kmod-ath kmod-ath5k kmod-ath9k \
17 kmod-leds-gpio kmod-input-gpio-keys-polled \
18 kmod-button-hotplug \
19 kmod-ledtrig-heartbeat kmod-ledtrig-gpio \
20 kmod-ledtrig-netdev kmod-ledtrig-netfilter \
21 kmod-cpu-msr \
22 soloscli linux-atm br2684ctl bridge ppp ppp-mod-pppoa \
23 pppdump pppstats \
24 libopenssl ocf-crypto-headers zlib hwclock hostapd
25
26 CS5535_MASK:=0x01000040
27
28 CFLAGS += -Os -pipe -march=k6-2 -fno-align-functions -fno-align-loops -fno-align-jumps \
29 -fno-align-labels
30
31 define Target/Description
32 Build firmware images for Soekris net5501 board
33 endef
34
35 define KernelPackage/gpio-cs5535-new/install
36 sed -i -r -e 's/$$$$$$$$/ mask=$(CS5535_MASK)/' $(1)/etc/modules.d/??-gpio-cs5535-new
37 endef