From b3bdff42b5a7b4b956da700b187a7254daac54ae Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Fri, 11 Dec 2020 10:20:58 -0500 Subject: build: Proper quoting for var printing targets Previously, if the value contained syntax that was meaningful to make, the printing would fail. Quoting properly avoids this. --- depends/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'depends/Makefile') diff --git a/depends/Makefile b/depends/Makefile index 596a46d4a2..aa90ea81d9 100644 --- a/depends/Makefile +++ b/depends/Makefile @@ -2,7 +2,7 @@ # Pattern rule to print variables, e.g. make print-top_srcdir print-%: - @echo $* = $($*) + @echo '$*' = '$($*)' # When invoking a sub-make, keep only the command line variable definitions # matching the pattern in the filter function. -- cgit v1.2.3