mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles/info.inc.mk: add a info-debug-variable-% target
Add a target to print an internal variable value. Usage: make info-debug-variable-VARIABLENAME Example: make info-debug-variable-ELFFILE /path/to/riot/examples/hello-world/bin/native/hello-world.elf
This commit is contained in:
parent
157238bb64
commit
bd29ac614d
@ -1,6 +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-provided info-features-required \
|
||||
info-debug-variable-%
|
||||
|
||||
info-objsize:
|
||||
@case "$(SORTROW)" in \
|
||||
@ -125,3 +126,6 @@ info-features-required:
|
||||
|
||||
info-features-missing:
|
||||
@for i in $(sort $(filter-out $(FEATURES_PROVIDED), $(FEATURES_REQUIRED))); do echo $$i; done
|
||||
|
||||
info-debug-variable-%:
|
||||
@echo $($*)
|
||||
|
Loading…
Reference in New Issue
Block a user