standardize Makefile, change section from base to net and category to "base system"
[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.4,x86,2_4_X86))
17 $(eval $(call kernel_template,2.6,brcm,2_6_BRCM))
18 $(eval $(call kernel_template,2.6,brcm63xx,2_6_BRCM63XX))
19 $(eval $(call kernel_template,2.6,rb532,2_6_RB532))
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,xscale,2_6_XSCALE))
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
This page took 0.051825 seconds and 5 git commands to generate.