move several instances of DEFAULT:=y to profile preselections (easier for the image...
[openwrt/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. 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 include $(INCLUDE_DIR)/kernel-build.mk
24 DEFAULT_PACKAGES += kmod-switch kmod-diag
25
26 define Profile/Atheros
27 NAME:=Atheros WiFi (default)
28 PACKAGES:=kmod-madwifi
29 endef
30 $(eval $(call Profile,Atheros))
31
32 define Profile/None
33 NAME:=No WiFi
34 PACKAGES:=
35 endef
36 $(eval $(call Profile,None))
37
38 $(eval $(call BuildKernel))