1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-27 14:39:53 +02:00
openwrt-xburst/target/Makefile
juhosg 1faec31054 imagebuilder: fix parallel building (closes #11117)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:40 +00:00

25 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)))