2006-06-27 02:35:46 +02:00
|
|
|
#
|
2007-07-30 23:14:08 +02:00
|
|
|
# Copyright (C) 2007 OpenWrt.org
|
2006-06-27 02:35:46 +02:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2007-07-30 23:14:08 +02:00
|
|
|
curdir:=target
|
2005-03-20 03:53:40 +01:00
|
|
|
|
2017-02-09 13:21:53 +01:00
|
|
|
$(curdir)/subtargets:=install
|
2021-11-22 10:43:43 +01:00
|
|
|
$(curdir)/builddirs:=linux sdk imagebuilder toolchain llvm-bpf
|
2007-07-31 10:24:29 +02:00
|
|
|
$(curdir)/builddirs-default:=linux
|
2021-11-22 10:43:43 +01:00
|
|
|
$(curdir)/builddirs-install:=\
|
|
|
|
linux \
|
|
|
|
$(if $(CONFIG_SDK),sdk) \
|
|
|
|
$(if $(CONFIG_IB),imagebuilder) \
|
|
|
|
$(if $(CONFIG_MAKE_TOOLCHAIN),toolchain) \
|
|
|
|
$(if $(CONFIG_SDK_LLVM_BPF),llvm-bpf)
|
2005-03-20 03:53:40 +01:00
|
|
|
|
2016-11-04 16:12:51 +01:00
|
|
|
$(curdir)/sdk/install:=$(curdir)/linux/install
|
2012-06-06 19:24:05 +02:00
|
|
|
$(curdir)/imagebuilder/install:=$(curdir)/linux/install
|
2005-03-20 03:53:40 +01:00
|
|
|
|
2007-08-31 00:43:25 +02:00
|
|
|
$(eval $(call stampfile,$(curdir),target,prereq,.config))
|
|
|
|
$(eval $(call stampfile,$(curdir),target,compile,$(TMP_DIR)/.build))
|
|
|
|
$(eval $(call stampfile,$(curdir),target,install,$(TMP_DIR)/.build))
|
2005-06-11 23:18:26 +02:00
|
|
|
|
2007-07-30 23:14:08 +02:00
|
|
|
$($(curdir)/stamp-install): $($(curdir)/stamp-compile)
|
2006-11-28 21:14:41 +01:00
|
|
|
|
2007-07-30 23:14:08 +02:00
|
|
|
$(eval $(call subdir,$(curdir)))
|