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 llvm-bpf
11 $(curdir
)/builddirs-default
:=linux
12 $(curdir
)/builddirs-install
:=\
14 $(if
$(CONFIG_SDK
),sdk
) \
15 $(if
$(CONFIG_IB
),imagebuilder
) \
16 $(if
$(CONFIG_MAKE_TOOLCHAIN
),toolchain
) \
17 $(if
$(CONFIG_SDK_LLVM_BPF
),llvm-bpf
)
19 $(curdir
)/sdk
/install:=$(curdir
)/linux
/install
20 $(curdir
)/imagebuilder
/install:=$(curdir
)/linux
/install
22 $(eval
$(call stampfile
,$(curdir
),target
,prereq
,.config
))
23 $(eval
$(call stampfile
,$(curdir
),target
,compile
,$(TMP_DIR
)/.build
))
24 $(eval
$(call stampfile
,$(curdir
),target
,install,$(TMP_DIR
)/.build
))
26 $($(curdir
)/stamp-install
): $($(curdir
)/stamp-compile
)
28 $(eval
$(call subdir
,$(curdir
)))