summaryrefslogtreecommitdiff
path: root/builddefs
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-01-30 19:47:46 +1100
committerGitHub <noreply@github.com>2023-01-30 08:47:46 +0000
commite296d671463f38a78c75ee0727016939634ef985 (patch)
treefb9d302089f32ac14820d0b1ed80dc34502d4e2b /builddefs
parent2c878b1b161ae10332fdc4d69f3d1f86d2726c5c (diff)
Accumulate version.h generator flags. (#19716)
Diffstat (limited to 'builddefs')
-rw-r--r--builddefs/build_keyboard.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/builddefs/build_keyboard.mk b/builddefs/build_keyboard.mk
index 8999ac80ad..28389f3cfc 100644
--- a/builddefs/build_keyboard.mk
+++ b/builddefs/build_keyboard.mk
@@ -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.