Add different Wi-Fi profiles
[openwrt-10.03/.git] / target / linux / au1000-2.6 / Makefile
1
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 ARCH:=mipsel
10 BOARD:=au1000
11 BOARDNAME:=AMD Alchemy AU1x00
12 FEATURES:=jffs2
13
14 define Target/Description
15         Build firmware for AMD Alchemy 1500 boards
16         (e.g. 4G-Systems Mesh/Access Cube ...)
17 endef
18
19 LINUX_VERSION:=2.6.17
20 LINUX_RELEASE:=1
21 LINUX_KERNEL_MD5SUM:=37ddefe96625502161f075b9d907f21e
22
23 include $(INCLUDE_DIR)/kernel-build.mk
24
25 define Kernel/BuildImage
26         $(call Kernel/BuildImage/Default)
27         $(CP) $(LINUX_DIR)/arch/mips/boot/compressed/images/zImage.flash.srec $(LINUX_DIR)/zImage.flash.srec
28         $(CP) $(LINUX_DIR)/arch/mips/boot/compressed/images/zImage.srec $(LINUX_DIR)/zImage.srec
29 endef
30
31 define Profile/Atheros
32   NAME:=Atheros WiFi (default)
33   PACKAGES:=kmod-madwifi
34 endef
35 $(eval $(call Profile,Atheros))
36
37 define Profile/Intel
38   NAME:=Intel IPW2200 WiFi
39   PACKAGES:=kmod-net-ipw2200
40 endef
41 $(eval $(call Profile,Intel))
42
43 define Profile/Broadcom
44   NAME:=Broadcom BCM43xx WiFi
45   PACKAGES:=kmod-net-bcm43xx
46 endef
47 $(eval $(call Profile,Broadcom))
48
49 $(eval $(call BuildKernel))
50