2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 $(curdir
)/subtargets
:=install
10 $(curdir
)/builddirs
:=linux sdk imagebuilder toolchain
11 $(curdir
)/builddirs-default
:=linux
12 $(curdir
)/builddirs-install
:=linux
$(if
$(CONFIG_SDK
),sdk
) $(if
$(CONFIG_IB
),imagebuilder
) $(if
$(CONFIG_MAKE_TOOLCHAIN
),toolchain
)
14 $(curdir
)/sdk
/install:=$(curdir
)/linux
/install
15 $(curdir
)/imagebuilder
/install:=$(curdir
)/linux
/install
17 $(eval
$(call stampfile
,$(curdir
),target
,prereq
,.config
))
18 $(eval
$(call stampfile
,$(curdir
),target
,compile
,$(TMP_DIR
)/.build
))
19 $(eval
$(call stampfile
,$(curdir
),target
,install,$(TMP_DIR
)/.build
))
21 $($(curdir
)/stamp-install
): $($(curdir
)/stamp-compile
)
23 $(eval
$(call subdir
,$(curdir
)))