2006-06-27 08:35:46 +08:00
|
|
|
#
|
2007-07-31 05:14:08 +08:00
|
|
|
# Copyright (C) 2007 OpenWrt.org
|
2006-06-27 08:35:46 +08:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2007-07-31 05:14:08 +08:00
|
|
|
curdir:=target
|
2005-03-20 10:53:40 +08:00
|
|
|
|
2017-02-09 20:21:53 +08:00
|
|
|
$(curdir)/subtargets:=install
|
2009-11-15 01:51:32 +08:00
|
|
|
$(curdir)/builddirs:=linux sdk imagebuilder toolchain
|
2007-07-31 16:24:29 +08:00
|
|
|
$(curdir)/builddirs-default:=linux
|
2009-11-15 01:51:32 +08:00
|
|
|
$(curdir)/builddirs-install:=linux $(if $(CONFIG_SDK),sdk) $(if $(CONFIG_IB),imagebuilder) $(if $(CONFIG_MAKE_TOOLCHAIN),toolchain)
|
2005-03-20 10:53:40 +08:00
|
|
|
|
2016-11-04 23:12:51 +08:00
|
|
|
$(curdir)/sdk/install:=$(curdir)/linux/install
|
2012-06-07 01:24:05 +08:00
|
|
|
$(curdir)/imagebuilder/install:=$(curdir)/linux/install
|
2005-03-20 10:53:40 +08:00
|
|
|
|
2007-08-31 06:43:25 +08: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-12 05:18:26 +08:00
|
|
|
|
2007-07-31 05:14:08 +08:00
|
|
|
$($(curdir)/stamp-install): $($(curdir)/stamp-compile)
|
2006-11-29 04:14:41 +08:00
|
|
|
|
2007-07-31 05:14:08 +08:00
|
|
|
$(eval $(call subdir,$(curdir)))
|