2006-06-27 00:35:46 +00:00
|
|
|
#
|
2007-07-30 21:14:08 +00:00
|
|
|
# Copyright (C) 2007 OpenWrt.org
|
2006-06-27 00:35:46 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2007-07-30 21:14:08 +00:00
|
|
|
curdir:=target
|
2005-03-20 02:53:40 +00:00
|
|
|
|
2007-07-30 21:14:08 +00:00
|
|
|
$(curdir)/builddirs:=linux sdk imagebuilder
|
|
|
|
$(curdir)/builddirs-prereq:=linux
|
|
|
|
$(curdir)/builddirs-default:=linux $(if $(CONFIG_SDK),sdk) $(if $(CONFIG_IB),imagebuilder)
|
2005-03-20 02:53:40 +00:00
|
|
|
|
2007-07-30 21:14:08 +00:00
|
|
|
$(curdir)/imagebuilder/prepare:=$(curdir)/linux/install
|
2005-03-20 02:53:40 +00:00
|
|
|
|
2007-07-30 21:14:08 +00:00
|
|
|
$(eval $(call stampfile,$(curdir),target,prereq))
|
|
|
|
$(eval $(call stampfile,$(curdir),target,compile))
|
|
|
|
$(eval $(call stampfile,$(curdir),target,install))
|
2005-06-11 21:18:26 +00:00
|
|
|
|
2007-07-30 21:14:08 +00:00
|
|
|
$($(curdir)/stamp-prereq): .config
|
|
|
|
$($(curdir)/stamp-compile): $(TMP_DIR)/.build
|
|
|
|
$($(curdir)/stamp-install): $($(curdir)/stamp-compile)
|
2006-11-28 20:14:41 +00:00
|
|
|
|
2007-07-30 21:14:08 +00:00
|
|
|
$(eval $(call subdir,$(curdir)))
|