reorder variables
[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:=atm 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 LINUX_VERSION:=2.4.32
19 LINUX_RELEASE:=1
20 LINUX_KERNEL_MD5SUM:=38f4d0830e95a20f4bfed17622d5557c
21
22 include $(INCLUDE_DIR)/kernel-build.mk
23 DEFAULT_PACKAGES += kmod-avalanche-cpmac
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))