All of lore.kernel.org
 help / color / mirror / Atom feed
From: Masahiro Yamada <yamada.masahiro@socionext.com>
To: linux-kbuild@vger.kernel.org
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>,
	linux-kernel@vger.kernel.org, Michal Marek <mmarek@suse.cz>
Subject: [PATCH 3/4] kbuild: include $(src)/Makefile rather than $(obj)/Makefile
Date: Fri, 27 Mar 2015 20:43:37 +0900	[thread overview]
Message-ID: <1427456618-23830-4-git-send-email-yamada.masahiro@socionext.com> (raw)
In-Reply-To: <1427456618-23830-1-git-send-email-yamada.masahiro@socionext.com>

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>
---

 scripts/Makefile.dtbinst | 2 +-
 scripts/Makefile.fwinst  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/Makefile.dtbinst b/scripts/Makefile.dtbinst
index 7cbff16..1c15717 100644
--- a/scripts/Makefile.dtbinst
+++ b/scripts/Makefile.dtbinst
@@ -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:
diff --git a/scripts/Makefile.fwinst b/scripts/Makefile.fwinst
index baf5eae..b272900 100644
--- a/scripts/Makefile.fwinst
+++ b/scripts/Makefile.fwinst
@@ -13,7 +13,7 @@ src := $(obj)
 -include $(objtree)/.config
 
 include scripts/Kbuild.include
-include $(obj)/Makefile
+include $(src)/Makefile
 
 include scripts/Makefile.host
 
-- 
1.9.1


  parent reply	other threads:[~2015-03-27 11:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-27 11:43 [PATCH 0/4] kbuild: refactor Makefile inclusion Masahiro Yamada
2015-03-27 11:43 ` Masahiro Yamada
2015-03-27 11:43 ` Masahiro Yamada
2015-03-27 11:43 ` Masahiro Yamada
2015-03-27 11:43 ` [PATCH 1/4] kbuild: use relative path to include Makefile Masahiro Yamada
2015-03-27 11:43   ` Masahiro Yamada
2015-03-27 11:43   ` Masahiro Yamada
2015-03-27 11:43 ` [PATCH 2/4] kbuild: use relative path more " Masahiro Yamada
2015-03-27 11:43 ` Masahiro Yamada [this message]
2015-03-27 11:43 ` [PATCH 4/4] kbuild: ia64: use $(src)/Makefile.gate rather than particular path Masahiro Yamada
2015-03-27 11:43   ` Masahiro Yamada
2015-04-02 15:27 ` [PATCH 0/4] kbuild: refactor Makefile inclusion Michal Marek
2015-04-02 15:27   ` Michal Marek
2015-04-02 15:27   ` Michal Marek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1427456618-23830-4-git-send-email-yamada.masahiro@socionext.com \
    --to=yamada.masahiro@socionext.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmarek@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.