projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ignore dependencies when using QUILT
[openwrt.git]
/
tools
/
Makefile
diff --git
a/tools/Makefile
b/tools/Makefile
index
49b30be
..
07944af
100644
(file)
--- a/
tools/Makefile
+++ b/
tools/Makefile
@@
-6,8
+6,7
@@
#
# Main makefile for the host tools
#
#
# Main makefile for the host tools
#
-
-curdir:=$(patsubst %/Makefile,%,$(lastword $(MAKEFILE_LIST)))
+curdir:=tools
# subdirectories to descend into
$(curdir)/builddirs := sed sstrip ipkg-utils ext2fs squashfs mtd-utils lzma mkimage firmware-utils patch-cmdline $(if $(CONFIG_CCACHE),ccache)
# subdirectories to descend into
$(curdir)/builddirs := sed sstrip ipkg-utils ext2fs squashfs mtd-utils lzma mkimage firmware-utils patch-cmdline $(if $(CONFIG_CCACHE),ccache)
@@
-16,16
+15,18
@@
$(curdir)/builddirs := sed sstrip ipkg-utils ext2fs squashfs mtd-utils lzma mkim
$(curdir)/squashfs/compile := $(curdir)/lzma/install
# preparatory work
$(curdir)/squashfs/compile := $(curdir)/lzma/install
# preparatory work
+define copy_include
$(STAGING_DIR)/include-host/.done:
$(STAGING_DIR)/include-host/.done:
- @mkdir -p $$(dirname $@)
- @cp $(curdir)/include/*.h $$(dirname $@)/
- @touch $@
+ @mkdir -p $$$$(dirname $$@)
+ @cp $(1)/include/*.h $$$$(dirname $$@)/
+ @touch $$@
+$(curdir)//prepare = $(STAGING_DIR)/include-host/.done
+endef
+$(eval $(call copy_include,$(curdir)))
# prerequisites for the individual targets
# prerequisites for the individual targets
-$(curdir)/ := .config
-$(curdir)//prepare = $(STAGING_DIR)/include-host/.done
-$(curdir)//compile = $(1)/prepare
+$(curdir)/ := .config prereq
$(curdir)//install = $(1)/compile
$(curdir)//install = $(1)/compile
-$(eval $(call stampfile,$(curdir),tools))
+$(eval $(call stampfile,$(curdir),tools
,install
))
$(eval $(call subdir,$(curdir)))
$(eval $(call subdir,$(curdir)))
This page took
0.019629 seconds
and
4
git commands to generate.