store the default kernel version for our ports in a single place (target makefiles...
[openwrt/svn-archive/archive.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:=squashfs jffs2
13
14 define Target/Description
15 Build firmware images for TI AR7 based routers (w.g. Linksys WAG54G v2)
16 endef
17
18 KERNEL:=2.4
19
20 include $(INCLUDE_DIR)/kernel-build.mk
21 DEFAULT_PACKAGES += kmod-avalanche-cpmac
22
23 define Profile/AnnexA
24 NAME:=ADSL Annex A (default)
25 PACKAGES:=kmod-sangam-atm-annex-a ppp-mod-pppoa
26 endef
27 $(eval $(call Profile,AnnexA))
28
29 define Profile/AnnexB
30 NAME:=ADSL Annex B
31 PACKAGES:=kmod-sangam-atm-annex-b ppp-mod-pppoa
32 endef
33 $(eval $(call Profile,AnnexB))
34
35 define Profile/None
36 NAME:=No ADSL
37 PACKAGES:=
38 endef
39 $(eval $(call Profile,None))
40
41 $(eval $(call BuildKernel))