From: Felix Fietkau Date: Mon, 1 Sep 2008 11:03:51 +0000 (+0000) Subject: install a symlink to the correct version of find in $(STAGING_DIR_HOST)/bin X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=304c93e4871cb5e1fbf16921fa082ed4a1bb43c4;p=openwrt%2Fstaging%2Fkaloz.git install a symlink to the correct version of find in $(STAGING_DIR_HOST)/bin SVN-Revision: 12451 --- diff --git a/tools/Makefile b/tools/Makefile index 3cfbb8bbda..989f3f0975 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -26,8 +26,11 @@ $(STAGING_DIR)/.prepared: $(TMP_DIR)/.build $(INSTALL_DATA) $(TOPDIR)/tools/include/*.h $(STAGING_DIR_HOST)/include/ touch $@ -$(curdir)//prepare = $(STAGING_DIR)/.prepared -$(curdir)//compile = $(STAGING_DIR)/.prepared +$(STAGING_DIR_HOST)/bin/find: + [ -x "$(FIND)" ] && ln -sf "$(FIND)" $@ + +$(curdir)//prepare = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/bin/find +$(curdir)//compile = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/bin/find # prerequisites for the individual targets $(curdir)/ := .config prereq