projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build system fixes, more cleanup
[openwrt-10.03/.git]
/
tools
/
Makefile
diff --git
a/tools/Makefile
b/tools/Makefile
index 49b30be44b01c0e8c5c7d1050ef52b613132ea09..ed2eae89d93006c59c49f395b875d689e7b0fa67 100644
(file)
--- a/
tools/Makefile
+++ b/
tools/Makefile
@@
-7,25
+7,25
@@
# Main makefile for the host tools
#
# Main makefile for the host tools
#
-curdir:=
$(patsubst %/Makefile,%,$(lastword $(MAKEFILE_LIST)))
+curdir:=
tools
# subdirectories to descend into
# subdirectories to descend into
-
$(curdir)
/builddirs := sed sstrip ipkg-utils ext2fs squashfs mtd-utils lzma mkimage firmware-utils patch-cmdline $(if $(CONFIG_CCACHE),ccache)
+
tools
/builddirs := sed sstrip ipkg-utils ext2fs squashfs mtd-utils lzma mkimage firmware-utils patch-cmdline $(if $(CONFIG_CCACHE),ccache)
# builddir dependencies
# builddir dependencies
-
$(curdir)/squashfs/compile := $(curdir)
/lzma/install
+
tools/squashfs/compile := tools
/lzma/install
# preparatory work
$(STAGING_DIR)/include-host/.done:
@mkdir -p $$(dirname $@)
# preparatory work
$(STAGING_DIR)/include-host/.done:
@mkdir -p $$(dirname $@)
- @cp
$(curdir)
/include/*.h $$(dirname $@)/
+ @cp
tools
/include/*.h $$(dirname $@)/
@touch $@
# prerequisites for the individual targets
@touch $@
# prerequisites for the individual targets
-
$(curdir)
/ := .config
-
$(curdir)
//prepare = $(STAGING_DIR)/include-host/.done
-
$(curdir)
//compile = $(1)/prepare
-
$(curdir)
//install = $(1)/compile
+
tools
/ := .config
+
tools
//prepare = $(STAGING_DIR)/include-host/.done
+
tools
//compile = $(1)/prepare
+
tools
//install = $(1)/compile
-$(eval $(call stampfile,
$(curdir)
,tools))
-$(eval $(call subdir,
$(curdir)
))
+$(eval $(call stampfile,
tools
,tools))
+$(eval $(call subdir,
tools
))