kernel: update linux 3.3 to 3.3.1
[openwrt/staging/mkresin.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 toolchain
10 $(curdir)/builddirs-default:=linux
11 $(curdir)/builddirs-install:=linux $(if $(CONFIG_SDK),sdk) $(if $(CONFIG_IB),imagebuilder) $(if $(CONFIG_MAKE_TOOLCHAIN),toolchain)
12
13 $(curdir)/imagebuilder/compile:=$(curdir)/linux/install
14
15 # prerequisites for the individual targets
16 $(curdir)//install = $(1)/compile
17
18 $(eval $(call stampfile,$(curdir),target,prereq,.config))
19 $(eval $(call stampfile,$(curdir),target,compile,$(TMP_DIR)/.build))
20 $(eval $(call stampfile,$(curdir),target,install,$(TMP_DIR)/.build))
21
22 $($(curdir)/stamp-install): $($(curdir)/stamp-compile)
23
24 $(eval $(call subdir,$(curdir)))