mkversion: ignore fpga_version_info as it might be unavailable when mkversion is called by client compilation

This commit is contained in:
Philippe Teuwen 2022-02-25 00:01:09 +01:00
commit cb209a9b47

View file

@ -63,7 +63,7 @@ sha=$(
cd "$pm3path" || return
# did we find the src?
[ -f armsrc/appmain.c ] || return
ls armsrc/*.[ch] common_arm/*.[ch]|grep -v disabled|grep -v version_pm3|xargs sha256sum|sha256sum|grep -o '^.........'
ls armsrc/*.[ch] common_arm/*.[ch]|grep -E -v "(disabled|version_pm3|fpga_version_info)"|xargs sha256sum|sha256sum|grep -o '^.........'
)
cat <<EOF
#include "common.h"