summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-19 17:18:26 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-19 17:18:26 +0000
commit7523aea0d420b39e38446a2f39b280a89efd804d (patch)
treecc295578920b2d0cf61a1b01e60b53d3df367aae /tools/Makefile
parenta60f2af2c71c6edee3e1994379e0b8c82b90db0f (diff)
prefer gstat over stat if available (patch from #4571)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14568 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index c5a9933448..c0bbcdbeea 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -39,8 +39,9 @@ endef
$(eval $(call PrepareCommand,find,gfind find))
$(eval $(call PrepareCommand,md5sum,md5sum $(SCRIPT_DIR)/md5sum))
$(eval $(call PrepareCommand,cp,gcp cp))
+$(eval $(call PrepareCommand,stat,gstat stat))
-$(curdir)/cmddeps = $(patsubst %,$(STAGING_DIR_HOST)/bin/%,find md5sum cp)
+$(curdir)/cmddeps = $(patsubst %,$(STAGING_DIR_HOST)/bin/%,find md5sum cp stat)
$(curdir)//prepare = $(STAGING_DIR)/.prepared $($(curdir)/cmddeps)
$(curdir)//compile = $(STAGING_DIR)/.prepared $($(curdir)/cmddeps)