tools: prefer gmd5sum if present
authorFelix Fietkau <nbd@openwrt.org>
Tue, 17 Jul 2012 11:28:30 +0000 (11:28 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 17 Jul 2012 11:28:30 +0000 (11:28 +0000)
SVN-Revision: 32761

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))