From 136966c14bd751d173be9707b5937c78d4a92808 Mon Sep 17 00:00:00 2001 From: Eugene Rodionov Date: Wed, 25 Dec 2024 18:20:25 -0800 Subject: [PATCH] Fix makefile to handle PATH variable with whitespaces. If PATH variable contains paths with whitespaces this could lead to build breackage. This change fixes this issue. Signed-off-by: Eugene Rodionov --- tools/lkl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lkl/Makefile b/tools/lkl/Makefile index a31f05bde3a74b..17f105ddecb5cf 100644 --- a/tools/lkl/Makefile +++ b/tools/lkl/Makefile @@ -81,7 +81,7 @@ $(ASM_CONFIG): $(OUTPUT)include/kernel_config.h # rule to build lkl.o $(OUTPUT)lib/lkl.o: bin/stat $(ASM_CONFIG) $(DOT_CONFIG) # this workaround is for arm32 linker (ld.gold) - $(Q)export PATH=$(srctree)/tools/lkl/bin/:${PATH} ;\ + $(Q)export PATH="$(srctree)/tools/lkl/bin/:${PATH}" ;\ $(MAKE) -C ../.. ARCH=lkl $(KOPT) $(MAKE) -C ../.. ARCH=lkl $(KOPT) install INSTALL_PATH=$(OUTPUT)