implement target profiles in menuconfig
[openwrt-10.03/.git] / target / linux / ar7-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:=ar7
11 BOARDNAME:=TI AR7
12 FEATURES:=atm squashfs jffs2
13 DEFAULT_PACKAGES += kmod-avalanche-cpmac
14
15 define Target/Description
16         Build firmware images for TI AR7 based routers (w.g. Linksys WAG54G v2)
17 endef
18
19 LINUX_VERSION:=2.4.32
20 LINUX_RELEASE:=1
21 LINUX_KERNEL_MD5SUM:=38f4d0830e95a20f4bfed17622d5557c
22
23 include $(INCLUDE_DIR)/kernel-build.mk
24
25 define Profile/AnnexA
26   NAME:=ADSL Annex A (default)
27   PACKAGES:=kmod-sangam-atm-annex-a ppp-mod-pppoa
28 endef
29 $(eval $(call Profile,AnnexA))
30
31 define Profile/AnnexB
32   NAME:=ADSL Annex B
33   PACKAGES:=kmod-sangam-atm-annex-b ppp-mod-pppoa
34 endef
35 $(eval $(call Profile,AnnexB))
36
37 define Profile/None
38   NAME:=No ADSL
39   PACKAGES:=
40 endef
41 $(eval $(call Profile,None))
42
43 $(eval $(call BuildKernel))