2010-04-11 15:36:55 +03:00
|
|
|
BOARDNAME:=Soekris net5501
|
2012-02-02 20:41:10 +02:00
|
|
|
FEATURES:=squashfs jffs2 ext4 pci usb gpio
|
|
|
|
DEFAULT_PACKAGES += kmod-crypto-hw-geode kmod-crypto-ocf \
|
|
|
|
kmod-gpio-cs5535-new kmod-gpio-nsc \
|
|
|
|
kmod-wdt-geode kmod-cs5535-clockevt kmod-cs5535-mfgpt \
|
|
|
|
kmod-cs5536 \
|
|
|
|
kmod-hwmon-core kmod-hwmon-pc87360 kmod-gpio-pc8736x \
|
|
|
|
kmod-via-rhine kmod-solos-pci \
|
2010-04-11 15:36:55 +03:00
|
|
|
kmod-i2c-core kmod-i2c-gpio \
|
|
|
|
kmod-i2c-algo-bit kmod-i2c-algo-pca kmod-i2c-algo-pcf \
|
2012-02-02 20:41:10 +02:00
|
|
|
kmod-i2c-scx200-acb \
|
|
|
|
kmod-usb-core kmod-usb2 kmod-usb-ohci \
|
|
|
|
kmod-cfg80211 kmod-mac80211 \
|
|
|
|
kmod-mppe kmod-pppoe kmod-pppoa kmod-pppo2ltp \
|
|
|
|
kmod-ath kmod-ath5k kmod-ath9k \
|
|
|
|
kmod-leds-gpio kmod-input-gpio-keys-polled \
|
2012-02-03 20:14:02 +02:00
|
|
|
kmod-button-hotplug \
|
2012-02-02 20:41:10 +02:00
|
|
|
kmod-ledtrig-heartbeat kmod-ledtrig-gpio \
|
2012-02-02 21:11:52 +02:00
|
|
|
kmod-ledtrig-netdev \
|
2012-02-02 20:41:10 +02:00
|
|
|
kmod-cpu-msr \
|
2012-02-02 21:06:22 +02:00
|
|
|
hwclock wpad
|
2012-02-02 20:41:10 +02:00
|
|
|
|
|
|
|
CS5535_MASK:=0x01000040
|
2010-10-17 15:42:06 +03:00
|
|
|
|
2012-02-03 16:19:29 +02:00
|
|
|
CFLAGS += -march=geode -Os -mmmx -m3dnow -fno-align-jumps -fno-align-functions \
|
|
|
|
-fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer
|
2010-04-11 15:36:55 +03:00
|
|
|
|
|
|
|
define Target/Description
|
|
|
|
Build firmware images for Soekris net5501 board
|
|
|
|
endef
|
|
|
|
|
2012-02-02 20:41:10 +02:00
|
|
|
define KernelPackage/gpio-cs5535-new/install
|
|
|
|
sed -i -r -e 's/$$$$$$$$/ mask=$(CS5535_MASK)/' $(1)/etc/modules.d/??-gpio-cs5535-new
|
|
|
|
endef
|