1
0
Fork 0
forked from nuttx/nuttx-update

tools/Unix.mk: Add VERSION_ARG to argument of version.sh

Allow version arguments to be changed externally.
This commit is contained in:
SPRESENSE 2023-02-09 17:26:15 +09:00 committed by Xiang Xiao
parent fa359e355c
commit a3cce487ca

View file

@ -57,7 +57,7 @@ else
# Only update .version if the contents of version.tmp actually changes
# Note: this is executed before any rule is run
$(shell tools/version.sh .version.tmp > /dev/null)
$(shell tools/version.sh $(VERSION_ARG) .version.tmp > /dev/null)
$(shell $(call TESTANDREPLACEFILE, .version.tmp, .version))
endif