浏览代码

kbuild: include $(src)/Makefile rather than $(obj)/Makefile

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>
Masahiro Yamada 10 年之前
父节点
当前提交
5f655c7a4c
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      scripts/Makefile.dtbinst
  2. 1 1
      scripts/Makefile.fwinst

+ 1 - 1
scripts/Makefile.dtbinst

@@ -18,7 +18,7 @@ export dtbinst-root ?= $(obj)
 
 
 include include/config/auto.conf
 include include/config/auto.conf
 include scripts/Kbuild.include
 include scripts/Kbuild.include
-include $(obj)/Makefile
+include $(src)/Makefile
 
 
 PHONY += __dtbs_install_prep
 PHONY += __dtbs_install_prep
 __dtbs_install_prep:
 __dtbs_install_prep:

+ 1 - 1
scripts/Makefile.fwinst

@@ -13,7 +13,7 @@ src := $(obj)
 -include $(objtree)/.config
 -include $(objtree)/.config
 
 
 include scripts/Kbuild.include
 include scripts/Kbuild.include
-include $(obj)/Makefile
+include $(src)/Makefile
 
 
 include scripts/Makefile.host
 include scripts/Makefile.host