clean up a few things in image build makefiles and fix unnecessary grub rebuilds
[openwrt.git] / target / linux / brcm-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:=brcm
11 BOARDNAME:=Broadcom BCM947xx/953xx
12 FEATURES:=squashfs
13
14 define Target/Description
15 Build firmware images for Broadcom based routers
16 (e.g. Netgear WGT634U)
17 endef
18
19 include $(INCLUDE_DIR)/kernel-build.mk
20 DEFAULT_PACKAGES += kmod-switch kmod-diag
21
22 define Profile/Atheros
23 NAME:=Atheros WiFi (default)
24 PACKAGES:=kmod-madwifi
25 endef
26
27 define Profile/Atheros/Description
28 Package set compatible with hardware using Atheros WiFi cards
29 endef
30 $(eval $(call Profile,Atheros))
31
32 define Profile/WGT634U
33 NAME:=Netgear WGT634U
34 PACKAGES:=kmod-madwifi kmod-usb-core kmod-usb-ohci kmod-usb2
35 endef
36
37 define Profile/WGT634U/Description
38 Package set compatible with the Netgear WGT634U. Contains USB support
39 endef
40 $(eval $(call Profile,WGT634U))
41
42 define Profile/None
43 NAME:=No WiFi
44 PACKAGES:=
45 endef
46
47 define Profile/None/Description
48 Package set without WiFi support
49 endef
50 $(eval $(call Profile,None))
51
52 $(eval $(call BuildKernel))
This page took 0.051873 seconds and 5 git commands to generate.