From 8e0ac2aeab58a1cb7d5b1517c0063ca87984396a Mon Sep 17 00:00:00 2001 From: Koen Zandberg Date: Fri, 9 Oct 2020 11:46:49 +0200 Subject: [PATCH] make: Add variable definitions for comma and space --- makefiles/utils/variables.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/makefiles/utils/variables.mk b/makefiles/utils/variables.mk index ead0099063..15fa2e53dd 100644 --- a/makefiles/utils/variables.mk +++ b/makefiles/utils/variables.mk @@ -1,6 +1,10 @@ # Utilities to set variables and environment for targets +# The variables defined here cover edge cases in make string handling. # These functions should help replacing immediate evaluation and global 'export' +comma := , +blank := +space := $(blank) $(blank) # Evaluate a deferred variable only once on its first usage # Uses after that will be as if it was an immediate evaluation