rename the xscale target to ixp4xx for the forthcoming iop target, add gcc 4.1 patch...
[openwrt/openwrt.git] / include / target.mk
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 define kernel_template
8 ifeq ($(CONFIG_LINUX_$(3)),y)
9 KERNEL:=$(1)
10 BOARD:=$(2)
11 endif
12 endef
13
14 $(eval $(call kernel_template,2.4,brcm,2_4_BRCM))
15 $(eval $(call kernel_template,2.4,ar7,2_4_AR7))
16 $(eval $(call kernel_template,2.6,brcm,2_6_BRCM))
17 $(eval $(call kernel_template,2.6,brcm63xx,2_6_BRCM63XX))
18 $(eval $(call kernel_template,2.6,rb532,2_6_RB532))
19 $(eval $(call kernel_template,2.6,rdc,2_6_RDC))
20 $(eval $(call kernel_template,2.6,x86,2_6_X86))
21 $(eval $(call kernel_template,2.6,uml,2_6_UML))
22 $(eval $(call kernel_template,2.4,ar531x,2_4_AR531X))
23 $(eval $(call kernel_template,2.6,aruba,2_6_ARUBA))
24 $(eval $(call kernel_template,2.6,au1000,2_6_AU1000))
25 $(eval $(call kernel_template,2.6,ixp4xx,2_6_IXP4XX))
26 $(eval $(call kernel_template,2.6,magicbox,2_6_MAGICBOX))
27 $(eval $(call kernel_template,2.6,sibyte,2_6_SIBYTE))
28
29 export BOARD
30 export KERNEL
31
32