Accumulate version.h generator flags. (#19716)

This commit is contained in:
Nick Brassel 2023-01-30 19:47:46 +11:00 committed by GitHub
parent 2c878b1b16
commit e296d67146
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -46,11 +46,12 @@ ifdef SKIP_VERSION
endif
# Generate the version.h file
VERSION_H_FLAGS :=
ifdef SKIP_VERSION
VERSION_H_FLAGS := --skip-all
VERSION_H_FLAGS += --skip-all
endif
ifdef SKIP_GIT
VERSION_H_FLAGS := --skip-git
VERSION_H_FLAGS += --skip-git
endif
# Generate the board's version.h file.