diff mbox series

kbuild: prefix Makefile.dtbinst path with $(srctree) unconditionally

Message ID 1536727974-28211-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 487c7c7702ab12cfe6cd0b5a10364eefa1d2128f
Headers show
Series kbuild: prefix Makefile.dtbinst path with $(srctree) unconditionally | expand

Commit Message

Masahiro Yamada Sept. 12, 2018, 4:52 a.m. UTC
$(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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.7.4

Comments

Masahiro Yamada Sept. 14, 2018, 1:04 p.m. UTC | #1
2018-09-12 13:52 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> $(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>

> ---


Applied to linux-kbuild.


>  scripts/Kbuild.include | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

>

> diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include

> index ce53639..46cc43e 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=

> --

> 2.7.4

>




-- 
Best Regards
Masahiro Yamada
diff mbox series

Patch

diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index ce53639..46cc43e 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=