1
0
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:
Gaëtan Harter 2018-05-08 18:10:04 +02:00
parent 157238bb64
commit bd29ac614d
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -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 $($*)