From 0b22783c64e06aeb606ffef584b362dbf7fd3895 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Sat, 3 Jul 2021 07:43:49 -0700 Subject: Improve 'show_build_options' target (#13425) * Improve 'show_build_options' target * Align the output to maximize readibility * Add Bootloader to listed output * Also alighn build options Thanks mtei! --- show_options.mk | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'show_options.mk') diff --git a/show_options.mk b/show_options.mk index cd04f6a0d7..af38bcb24b 100644 --- a/show_options.mk +++ b/show_options.mk @@ -86,17 +86,18 @@ OTHER_OPTION_NAMES = \ LTO_ENABLE define NAME_ECHO - @echo " $1 = $($1) # $(origin $1)" + @printf " %-30s = %-16s # %s\\n" "$1" "$($1)" "$(origin $1)" endef .PHONY: show_build_options0 show_build_options show_build_options0: - @echo " KEYBOARD = $(KEYBOARD)" - @echo " KEYMAP = $(KEYMAP)" - @echo " MCU = $(MCU)" - @echo " MCU_SERIES = $(MCU_SERIES)" - @echo " PLATFORM = $(PLATFORM)" + @echo " KEYBOARD = $(KEYBOARD)" + @echo " KEYMAP = $(KEYMAP)" + @echo " MCU = $(MCU)" + @echo " MCU_SERIES = $(MCU_SERIES)" + @echo " PLATFORM = $(PLATFORM)" + @echo " BOOTLOADER = $(BOOTLOADER)" @echo " FIRMWARE_FORMAT = $(FIRMWARE_FORMAT)" @echo @echo "Build Options:" -- cgit v1.2.3