From 062456ec4c5ad06f29598e3332a2d26fc0391cb1 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 19 Feb 2009 17:18:26 +0000 Subject: [PATCH] prefer gstat over stat if available (patch from #4571) SVN-Revision: 14568 --- tools/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.25.1