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!master
parent
4459f91dc2
commit
0b22783c64
|
@ -86,7 +86,7 @@ OTHER_OPTION_NAMES = \
|
||||||
LTO_ENABLE
|
LTO_ENABLE
|
||||||
|
|
||||||
define NAME_ECHO
|
define NAME_ECHO
|
||||||
@echo " $1 = $($1) # $(origin $1)"
|
@printf " %-30s = %-16s # %s\\n" "$1" "$($1)" "$(origin $1)"
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -97,6 +97,7 @@ show_build_options0:
|
||||||
@echo " MCU = $(MCU)"
|
@echo " MCU = $(MCU)"
|
||||||
@echo " MCU_SERIES = $(MCU_SERIES)"
|
@echo " MCU_SERIES = $(MCU_SERIES)"
|
||||||
@echo " PLATFORM = $(PLATFORM)"
|
@echo " PLATFORM = $(PLATFORM)"
|
||||||
|
@echo " BOOTLOADER = $(BOOTLOADER)"
|
||||||
@echo " FIRMWARE_FORMAT = $(FIRMWARE_FORMAT)"
|
@echo " FIRMWARE_FORMAT = $(FIRMWARE_FORMAT)"
|
||||||
@echo
|
@echo
|
||||||
@echo "Build Options:"
|
@echo "Build Options:"
|
||||||
|
|
Loading…
Reference in New Issue