remove case sensitivity from the board name checking
[openwrt.git] / tools / 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 # Main makefile for the host tools
8 #
9 curdir:=tools
10
11 # subdirectories to descend into
12 $(curdir)/builddirs := sed sstrip ipkg-utils ext2fs squashfs mtd-utils lzma mkimage firmware-utils patch-cmdline $(if $(CONFIG_CCACHE),ccache)
13
14 # builddir dependencies
15 $(curdir)/squashfs/compile := $(curdir)/lzma/install
16
17 # preparatory work
18 define copy_include
19 $(STAGING_DIR)/include-host/.done:
20 @mkdir -p $$$$(dirname $$@)
21 @cp $(1)/include/*.h $$$$(dirname $$@)/
22 @touch $$@
23 $(curdir)//prepare = $(STAGING_DIR)/include-host/.done
24 $(curdir)//compile = $(STAGING_DIR)/include-host/.done
25 endef
26 $(eval $(call copy_include,$(curdir)))
27
28 # prerequisites for the individual targets
29 $(curdir)/ := .config prereq
30 $(curdir)//install = $(1)/compile
31
32 $(eval $(call stampfile,$(curdir),tools,install))
33 $(eval $(call subdir,$(curdir)))
This page took 0.041858 seconds and 5 git commands to generate.