Change booting target from hda to sda.
[openwrt-10.03/.git] / tools / Makefile
index f21b5a58200c862479f4041b8d944375056b4b74..ecde1191baffdede062bdd1f6658c10468681d9b 100644 (file)
@@ -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)