Skip to content
Snippets Groups Projects
Unverified Commit bd29ac61 authored by Gaëtan Harter's avatar Gaëtan Harter
Browse files

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
parent 157238bb
No related branches found
No related tags found
No related merge requests found
.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 $($*)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment