only build sdk and imagebuilder at target/install time
[openwrt.git] / target / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 curdir:=target
8
9 $(curdir)/builddirs:=linux sdk imagebuilder
10 $(curdir)/builddirs-default:=linux
11 $(curdir)/builddirs-install:=linux $(if $(CONFIG_SDK),sdk) $(if $(CONFIG_IB),imagebuilder)
12
13 $(curdir)/imagebuilder/prepare:=$(curdir)/linux/install
14
15 $(eval $(call stampfile,$(curdir),target,prereq))
16 $(eval $(call stampfile,$(curdir),target,compile))
17 $(eval $(call stampfile,$(curdir),target,install))
18
19 $($(curdir)/stamp-prereq): .config
20 $($(curdir)/stamp-compile): $(TMP_DIR)/.build
21 $($(curdir)/stamp-install): $($(curdir)/stamp-compile)
22
23 $(eval $(call subdir,$(curdir)))
This page took 0.043182 seconds and 5 git commands to generate.