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:
parent
e43313d647
commit
bf6d742017
@ -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 $($*)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user