From: nbd Date: Thu, 19 Feb 2009 17:18:26 +0000 (+0000) Subject: prefer gstat over stat if available (patch from #4571) X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/7523aea0d420b39e38446a2f39b280a89efd804d?hp=a60f2af2c71c6edee3e1994379e0b8c82b90db0f prefer gstat over stat if available (patch from #4571) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14568 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/tools/Makefile b/tools/Makefile index c5a993344..c0bbcdbee 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)