Skip to content

Commit 487c7c7

Browse files
committed
kbuild: prefix Makefile.dtbinst path with $(srctree) unconditionally
$(srctree) always points to the top of the source tree whether KBUILD_SRC is set or not. Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 36f546a commit 487c7c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Kbuild.include

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ modbuiltin := -f $(srctree)/scripts/Makefile.modbuiltin obj
193193
# Shorthand for $(Q)$(MAKE) -f scripts/Makefile.dtbinst obj=
194194
# Usage:
195195
# $(Q)$(MAKE) $(dtbinst)=dir
196-
dtbinst := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.dtbinst obj
196+
dtbinst := -f $(srctree)/scripts/Makefile.dtbinst obj
197197

198198
###
199199
# Shorthand for $(Q)$(MAKE) -f scripts/Makefile.clean obj=

0 commit comments

Comments
 (0)