install a symlink to the correct version of find in $(STAGING_DIR_HOST)/bin

SVN-Revision: 12451
This commit is contained in:
Felix Fietkau 2008-09-01 11:03:51 +00:00
parent b2e997983b
commit 304c93e487

View file

@ -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