X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=include%2Fprereq.mk;fp=include%2Fprereq.mk;h=c888268d852074859bd9844171b7d75adc5d521a;hp=c72878ebb0eb0a0f0502393653b02594d4cf5bbb;hb=729909c07fae4201591e51895833112cb88485e1;hpb=9ffd6013b918145295d12ef15ca4282f48ce49e5 diff --git a/include/prereq.mk b/include/prereq.mk index c72878ebb0..c888268d85 100644 --- a/include/prereq.mk +++ b/include/prereq.mk @@ -110,6 +110,10 @@ define SetupHostCommand *" -> $$$$$$$$bin"*) \ [ -x "$(STAGING_DIR_HOST)/bin/$(strip $(1))" ] && exit 0 \ ;; \ + "-"*) \ + find "$(STAGING_DIR_HOST)/stamp" | grep $(strip $(1)) && \ + [ -x "$(STAGING_DIR_HOST)/bin/$(strip $(1))" ] && exit 0 \ + ;; \ esac; \ ln -sf "$$$$$$$$bin" "$(STAGING_DIR_HOST)/bin/$(strip $(1))"; \ exit 1; \