tools: prefer gmd5sum if present
[openwrt/staging/jogo.git] / tools / Makefile
index 0ecd2a3dfd4c5df9e70cbff0783776a1f849efe1..881fdb214df6e8e4ab7dedf7b51a7557a1722354 100644 (file)
@@ -118,7 +118,7 @@ $(STAGING_DIR_HOST)/bin/stat: $(STAGING_DIR)/.prepared
        fi
 
 $(eval $(call PrepareCommand,find,gfind find))
-$(eval $(call PrepareCommand,md5sum,md5sum $(SCRIPT_DIR)/md5sum))
+$(eval $(call PrepareCommand,md5sum,gmd5sum md5sum $(SCRIPT_DIR)/md5sum))
 $(eval $(call PrepareCommand,cp,gcp cp))
 $(eval $(call PrepareCommand,seq,gseq seq))
 $(eval $(call PrepareCommand,python,python2 python))