Skip to content

Commit 136966c

Browse files
committed
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 <[email protected]>
1 parent 3dc4f15 commit 136966c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/lkl/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ $(ASM_CONFIG): $(OUTPUT)include/kernel_config.h
8181
# rule to build lkl.o
8282
$(OUTPUT)lib/lkl.o: bin/stat $(ASM_CONFIG) $(DOT_CONFIG)
8383
# this workaround is for arm32 linker (ld.gold)
84-
$(Q)export PATH=$(srctree)/tools/lkl/bin/:${PATH} ;\
84+
$(Q)export PATH="$(srctree)/tools/lkl/bin/:${PATH}" ;\
8585
$(MAKE) -C ../.. ARCH=lkl $(KOPT)
8686
$(MAKE) -C ../.. ARCH=lkl $(KOPT) install INSTALL_PATH=$(OUTPUT)
8787

0 commit comments

Comments
 (0)