X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c656e45d6c2531bd3ffe44ef4e756c6e896c9ce9..db8e4c03ca21350dfedbe9924d56dcec090246bb:/tools/Makefile?ds=sidebyside diff --git a/tools/Makefile b/tools/Makefile index f21b5a582..ecde1191b 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -38,7 +38,9 @@ $(STAGING_DIR_HOST)/bin/md5sum: $(STAGING_DIR)/.prepared fi $(STAGING_DIR_HOST)/bin/find: $(STAGING_DIR)/.prepared - [ -x "$(FIND)" ] && ln -sf "$(FIND)" $@ + if [ -x "$(FIND)" -a "$(FIND)" != "$@" ]; then \ + ln -sf "$(FIND)" $@; \ + fi $(curdir)/cmddeps = $(patsubst %,$(STAGING_DIR_HOST)/bin/%,find md5sum)