Skip to content

Commit 418d6c4

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 <radius.evgeniy@gmail.com>
1 parent 60d9255 commit 418d6c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/lkl/Makefile

Lines changed: 1 addition & 1 deletion
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)