]> Git Repo - buildroot-mgba.git/commit
support/dependencies: avoid spurious warning on print-vars
authorYann E. MORIN <[email protected]>
Sat, 13 Nov 2021 13:28:14 +0000 (14:28 +0100)
committerYann E. MORIN <[email protected]>
Sat, 4 Dec 2021 19:09:04 +0000 (20:09 +0100)
commit77304e5143bf77e9fd2f8125807bbf9665cda8bc
tree2329ccad73fd5fd648c7f2458650f44181b23d26
parent22fb4c469bcb5b61beadfc78c27e403656eae979
support/dependencies: avoid spurious warning on print-vars

When calling 'printvars', the 'suitable-host-package' macro is printed
(a macro is just a variable like the others, after all, just with some
parameters). Because it is printed as a variable, it is missing its
parameters, but it still tries to evaluate the $(shell) construct.

This causes spurious warning:

    make[1]: support/dependencies/check-host-.sh: Command not found

Only try and call the script if there is actually a tool to check for.

Signed-off-by: Yann E. MORIN <[email protected]>
support/dependencies/dependencies.mk
This page took 0.032549 seconds and 4 git commands to generate.