2f2a92b0e12d7b13323ed3fe03fb7724180492c2
[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 include $(INCLUDE_DIR)/kernel-build.mk
20
21 define Kernel/BuildImage
22         $(call Kernel/BuildImage/Default)
23         $(CP) $(LINUX_DIR)/arch/mips/boot/compressed/images/zImage.flash.srec $(LINUX_DIR)/zImage.flash.srec
24         $(CP) $(LINUX_DIR)/arch/mips/boot/compressed/images/zImage.srec $(LINUX_DIR)/zImage.srec
25 endef
26
27 define Profile/Atheros
28   NAME:=Atheros WiFi (default)
29   PACKAGES:=kmod-madwifi
30 endef
31 $(eval $(call Profile,Atheros))
32
33 define Profile/Intel
34   NAME:=Intel IPW2200 WiFi
35   PACKAGES:=kmod-net-ipw2200
36 endef
37 $(eval $(call Profile,Intel))
38
39 define Profile/Broadcom
40   NAME:=Broadcom BCM43xx WiFi
41   PACKAGES:=kmod-net-bcm43xx
42 endef
43 $(eval $(call Profile,Broadcom))
44
45 $(eval $(call BuildKernel))
46