1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

build system: add info-kconfig-variables

This aids debugging issues with KConfig by being able to print all
`CONFIG_*` variables.
This commit is contained in:
Marian Buschsieweke 2022-07-06 08:56:28 +02:00
parent e43313d647
commit bf6d742017
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -1,7 +1,7 @@
.PHONY: info-objsize info-buildsizes info-build info-boards-supported \
info-features-missing info-modules info-cpu \
info-features-provided info-features-required \
info-features-used \
info-features-used info-kconfig-variables \
info-debug-variable-% info-toolchains-supported \
check-toolchain-supported \
info-programmers-supported \
@ -224,6 +224,11 @@ info-features-missing:
info-features-used:
@for i in $(FEATURES_USED); do echo $$i; done
# This target prints all variables set via KConfig sorted alphabetically for
# debugging.
info-kconfig-variables:
@for i in $(sort $(filter CONFIG_%,$(.VARIABLES))); do echo $$i; done
info-debug-variable-%:
@echo $($*)