fix broken .pkginfo under certain situations
[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.4,ar531x,2_4_AR531X))
22 $(eval $(call kernel_template,2.6,aruba,2_6_ARUBA))
23 $(eval $(call kernel_template,2.6,au1000,2_6_AU1000))
24 $(eval $(call kernel_template,2.6,xscale,2_6_XSCALE))
25 $(eval $(call kernel_template,2.6,sibyte,2_6_SIBYTE))
26
27 export BOARD
28 export KERNEL
29
30
This page took 0.045143 seconds and 5 git commands to generate.