build: introduce $(MKHASH)
[openwrt/openwrt.git] / target / linux / ath79 / image / generic.mk
index 303907e5bb788ffc6d8d2cb31874909609a7a4fd..222a1511a78de984e22c2b18883b62ff17da3da6 100644 (file)
@@ -35,7 +35,7 @@ define Build/addpattern
 endef
 
 define Build/append-md5sum-bin
-       $(STAGING_DIR_HOST)/bin/mkhash md5 $@ | sed 's/../\\\\x&/g' |\
+       $(MKHASH) md5 $@ | sed 's/../\\\\x&/g' |\
                xargs echo -ne >> $@
 endef