6a57a1fbdb
SVN-Revision: 30927
24 lines
812 B
Makefile
24 lines
812 B
Makefile
#
|
|
# Copyright (C) 2007 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
curdir:=target
|
|
|
|
$(curdir)/builddirs:=linux sdk imagebuilder toolchain
|
|
$(curdir)/builddirs-default:=linux
|
|
$(curdir)/builddirs-install:=linux $(if $(CONFIG_SDK),sdk) $(if $(CONFIG_IB),imagebuilder) $(if $(CONFIG_MAKE_TOOLCHAIN),toolchain)
|
|
|
|
$(curdir)/imagebuilder/compile:=$(curdir)/linux/install
|
|
|
|
# prerequisites for the individual targets
|
|
$(curdir)//install = $(1)/compile
|
|
|
|
$(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))
|
|
|
|
$($(curdir)/stamp-install): $($(curdir)/stamp-compile)
|
|
|
|
$(eval $(call subdir,$(curdir)))
|