1 BOARDNAME
:=PCEngines alix2
2 FEATURES
:=squashfs pci usb gpio
3 ALIX2_GPIO
= $(if
$(findstring 2.6.32,$(LINUX_VERSION
)),gpio-cs5535
,gpio-cs5535-new
)
4 DEFAULT_PACKAGES
+= kmod-ata-via-sata \
5 kmod-crypto-hw-geode kmod-crypto-ocf \
6 kmod-
$(ALIX2_GPIO
) kmod-gpio-nsc \
7 kmod-wdt-geode kmod-hwmon-core kmod-hwmon-lm90 \
8 kmod-via-rhine kmod-leds-alix \
9 kmod-i2c-core kmod-i2c-gpio \
10 kmod-i2c-algo-bit kmod-i2c-algo-pca kmod-i2c-algo-pcf \
12 kmod-usb-core kmod-usb2 kmod-usb-uhci \
13 kmod-cfg80211 kmod-mac80211 \
14 kmod-mppe kmod-pppoe kmod-pppoa kmod-pppo2ltp \
15 kmod-ath kmod-ath5k kmod-ath9k \
16 bridge ppp ppp-mod-pppoa \
17 libopenssl ocf-crypto-headers zlib hwclock hostapd
19 CS5535_MASK
:=0x0a400000
21 CFLAGS
+= -Os
-pipe
-march
=k6-2
-fno-align-functions
-fno-align-loops
-fno-align-jumps \
24 define Target
/Description
25 Build firmware images for PCEngines alix2 board
28 define KernelPackage
/$(GEOS_GPIO
)/install
29 sed
-i
-r
-e
's/$$$$$$$$/ mask=$(CS5535_MASK)/' $(1)/etc
/modules.d
/??
-$(GEOS_GPIO
)