Skip to content

Commit

Permalink
Fix makefile to handle PATH variable with whitespaces.
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
rodionov committed Dec 26, 2024
1 parent 60d9255 commit 3b5317f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lkl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 3b5317f

Please sign in to comment.