From 3bb092d4d4a136b02f2bced2e3ddb94e29138287 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Tue, 31 Dec 2024 00:34:13 -0500 Subject: [PATCH] Add flag to skip Renesas SVD builds Much like the STMicro SVDs, Renesas SVDs are fully proprietary and not under an FOSS license. --- GNUmakefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 43a2a68ba..2b0916b92 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -187,7 +187,10 @@ fmt-check: ## Warn if any source needs reformatting @unformatted=$$(gofmt -l $(FMT_PATHS)); [ -z "$$unformatted" ] && exit 0; echo "Unformatted:"; for fn in $$unformatted; do echo " $$fn"; done; exit 1 -gen-device: gen-device-avr gen-device-esp gen-device-nrf gen-device-sam gen-device-sifive gen-device-kendryte gen-device-nxp gen-device-rp gen-device-renesas ## Generate microcontroller-specific sources +gen-device: gen-device-avr gen-device-esp gen-device-nrf gen-device-sam gen-device-sifive gen-device-kendryte gen-device-nxp gen-device-rp ## Generate microcontroller-specific sources +ifneq ($(RENESAS), 0) +gen-device: gen-device-renesas +endif ifneq ($(STM32), 0) gen-device: gen-device-stm32 endif