]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
kbuild: prefix Makefile.dtbinst path with $(srctree) unconditionally
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 12 Sep 2018 04:52:54 +0000 (13:52 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 12 Sep 2018 15:00:43 +0000 (00:00 +0900)
$(srctree) always points to the top of the source tree whether
KBUILD_SRC is set or not.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/Kbuild.include

index ce53639a864a14fa13d85710af4b875fd477217f..46cc43e388660a1887e6059f4f112931cc27b731 100644 (file)
@@ -193,7 +193,7 @@ modbuiltin := -f $(srctree)/scripts/Makefile.modbuiltin obj
 # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.dtbinst obj=
 # Usage:
 # $(Q)$(MAKE) $(dtbinst)=dir
-dtbinst := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.dtbinst obj
+dtbinst := -f $(srctree)/scripts/Makefile.dtbinst obj
 
 ###
 # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.clean obj=