reorder variables
[openwrt/staging/florian.git] / target / linux / brcm-2.4 / 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:=brcm
11 BOARDNAME:=Broadcom BCM947xx/953xx
12 FEATURES:=pci usb pcmcia squashfs jffs2
13
14 define Target/Description
15 Build firmware images for Broadcom based routers
16 (e.g. Linksys WRT54G(S), Asus WL-500g, Motorola WR850G)
17
18 This one builds the generic .trx images, activate one of the
19 options below for creating device specific files for use
20 with TFTP client too.
21 endef
22
23 LINUX_VERSION:=2.4.32
24 LINUX_RELEASE:=1
25 LINUX_KERNEL_MD5SUM:=38f4d0830e95a20f4bfed17622d5557c
26
27 include $(INCLUDE_DIR)/kernel-build.mk
28 DEFAULT_PACKAGES += kmod-switch nvram
29
30 define Profile/Broadcom
31 NAME:=Generic, Broadcom WiFi (default)
32 PACKAGES:=kmod-brcm-wl
33 endef
34 $(eval $(call Profile,Broadcom))
35
36 define Profile/BroadcomMimo
37 NAME:=Generic, Broadcom WiFi (MIMO)
38 PACKAGES:=kmod-brcm-wl-mimo
39 endef
40 $(eval $(call Profile,BroadcomMimo))
41
42 define Profile/Atheros
43 NAME:=Generic, Atheros WiFi
44 PACKAGES:=kmod-madwifi
45 endef
46 $(eval $(call Profile,Atheros))
47
48 define Profile/None
49 NAME:=Generic, No WiFi
50 PACKAGES:=
51 endef
52 $(eval $(call Profile,None))
53
54
55 define Profile/WRT54G3G
56 NAME:=Linksys WRT54G3G
57 PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-pcmcia-core kmod-pcmcia-serial kmod-nozomi comgt
58 endef
59 $(eval $(call Profile,WRT54G3G))
60
61 define Profile/WL500G
62 NAME:=ASUS WL-500g
63 PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-lp
64 endef
65 $(eval $(call Profile,WL500G))
66
67 define Profile/WL500GD
68 NAME:=ASUS WL-500g Deluxe
69 PACKAGES:=kmod-usb-core kmod-usb-uhci kmod-usb2
70 endef
71 $(eval $(call Profile,WL500GD))
72
73 define Profile/WL500GP
74 NAME:=ASUS WL-500g Premium
75 PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2
76 endef
77 $(eval $(call Profile,WL500GP))
78
79 define Profile/WLHDD
80 NAME:=WL-HDD
81 PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-ide-core kmod-ide-pdc202xx
82 endef
83 $(eval $(call Profile,WLHDD))
84
85 $(eval $(call BuildKernel))