summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-09-12 13:52:54 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-09-13 00:00:43 +0900
commit487c7c7702ab12cfe6cd0b5a10364eefa1d2128f (patch)
tree5cb514b8d6e65cf5e0f85299ae628c03a3430941 /scripts
parent36f546a1bdb5d268aec97b2fe4800c91a4f5596a (diff)
downloadlinux-stable-487c7c7702ab12cfe6cd0b5a10364eefa1d2128f.tar.gz
linux-stable-487c7c7702ab12cfe6cd0b5a10364eefa1d2128f.tar.bz2
linux-stable-487c7c7702ab12cfe6cd0b5a10364eefa1d2128f.zip
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 <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Kbuild.include2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index ce53639a864a..46cc43e38866 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -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=