From 03da0ecea14011c58344753e02eb6f2c83b38fa0 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Mon, 30 Jan 2023 16:53:40 +1100 Subject: [PATCH] Accumulate version.h generator flags. --- builddefs/build_keyboard.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/builddefs/build_keyboard.mk b/builddefs/build_keyboard.mk index 8999ac80ad52..28389f3cfc52 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.