1 BOARDNAME
:=PCEngines alix2
2 FEATURES
:=squashfs jffs2 ext4 pci usb gpio
3 ALIX2_GPIO
= $(if
$(findstring 2.6.32,$(LINUX_VERSION
)),gpio-cs5535
,gpio-cs5535-new
)
5 kmod-crypto-hw-geode kmod-crypto-ocf \
6 kmod-
$(ALIX2_GPIO
) kmod-gpio-nsc \
7 kmod-wdt-geode kmod-cs5535-clockevt kmod-cs5535-mfgpt \
9 kmod-hwmon-core kmod-hwmon-lm90 \
11 kmod-i2c-core kmod-i2c-gpio \
12 kmod-i2c-algo-bit kmod-i2c-algo-pca kmod-i2c-algo-pcf \
14 kmod-usb-core kmod-usb2 kmod-usb-ohci \
15 kmod-cfg80211 kmod-mac80211 \
16 kmod-mppe kmod-pppoe kmod-pppo2ltp \
17 kmod-ath kmod-ath5k kmod-ath9k \
18 kmod-leds-gpio kmod-input-gpio-keys-polled \
20 kmod-ledtrig-heartbeat kmod-ledtrig-gpio \
21 kmod-ledtrig-netdev kmod-ledtrig-netfilter \
24 libopenssl ocf-crypto-headers zlib hwclock hostapd
26 CS5535_MASK
:=0x0b000042
28 CFLAGS
+= -Os
-pipe
-march
=k6-2
-fno-align-functions
-fno-align-loops
-fno-align-jumps \
31 define Target
/Description
32 Build firmware images for PCEngines alix2 board
35 define KernelPackage
/$(ALIX2_GPIO
)/install
36 sed
-i
-r
-e
's/$$$$$$$$/ mask=$(CS5535_MASK)/' $(1)/etc
/modules.d
/??
-$(ALIX2_GPIO
)