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