kbuild: include $(src)/Makefile rather than $(obj)/Makefile
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 27 Mar 2015 11:43:37 +0000 (20:43 +0900)
committerMichal Marek <mmarek@suse.cz>
Thu, 2 Apr 2015 14:42:08 +0000 (16:42 +0200)
This commit actually has no impact because $(src) and $(obj) point
to the same path, but $(src)/Makefile looks better when we include
source files.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/Makefile.dtbinst
scripts/Makefile.fwinst

index 7cbff167341f4ab5f21f7d1896fe9ad4a1576afa..1c15717e0d5686972c1130fb718d0bc445c08dad 100644 (file)
@@ -18,7 +18,7 @@ export dtbinst-root ?= $(obj)
 
 include include/config/auto.conf
 include scripts/Kbuild.include
-include $(obj)/Makefile
+include $(src)/Makefile
 
 PHONY += __dtbs_install_prep
 __dtbs_install_prep:
index baf5eaedb2782625bebe1cc8984cff5c2440d6a4..b2729003525323975e33b3e57cc11274ab52085b 100644 (file)
@@ -13,7 +13,7 @@ src := $(obj)
 -include $(objtree)/.config
 
 include scripts/Kbuild.include
-include $(obj)/Makefile
+include $(src)/Makefile
 
 include scripts/Makefile.host