mkversion: indicate when no sha256 generated
This commit is contained in:
1 parent
738963306e
commit
4c8b4af337
1 file changed
+3
@@ -65,6 +65,9 @@ sha=$(
|
||||
[ -f armsrc/appmain.c ] || return
|
||||
ls armsrc/*.[ch] common_arm/*.[ch]|grep -E -v "(disabled|version_pm3|fpga_version_info)"|xargs sha256sum|sha256sum|cut -c -9
|
||||
)
|
||||
if [ "$sha" = "" ]; then
|
||||
sha="no sha256"
|
||||
fi
|
||||
cat <<EOF
|
||||
#include "common.h"
|
||||
/* Generated file, do not edit */
|
||||
|
||||
Reference in new issue
Block a user