Table Of Contents

Previous topic

Builtin Modules

Next topic

Develop

This Page

Debug

echo-%

Print the value of a named variable:

make echo-%

To print the value of PROJECT_NAME:

make echo-PROJECT_NAME

eval

Echo EXPR from make’s point of view:

make eval

make eval EXPR=’$(PROJECT_NAME)-$(PROJECT_VERSION)’

vardump

Dump interesting variables:

make vardump

Interesting means that the variable was either referenced by a makefile on the MAKEFILE_LIST or its name matches the pattern INTERESTING_VARS

vardump-%

Dump a variable by name:

make vardump-%

vardumpall

Dump all variables:

make vardumpall