All of lore.kernel.org
 help / color / mirror / Atom feed
From: Elliott Mitchell <ehem+raspberrypi@drgnwing.com>
To: masahiroy@kernel.org, nathan@kernel.org, nicolas@fjasle.eu
Cc: linux-kbuild@vger.kernel.org
Subject: [PATCH RFC 3/3] build: change $(srctree) to empty for current directory
Date: Tue, 20 Feb 2024 09:13:37 -0800	[thread overview]
Message-ID: <93f26945aa19bc9f6226d8660fabc91d568fa83e.1708478592.git.ehem+linux@m5p.com> (raw)
In-Reply-To: <cover.1708478591.git.ehem+linux@m5p.com>

Split out to highlight the actual changes.  This would break things if
done in the first commit, so do this as the final step.

Signed-off-by: Elliott Mitchell <ehem+linux@m5p.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 3eef5c56f863..edb5d3fceb30 100644
--- a/Makefile
+++ b/Makefile
@@ -246,7 +246,7 @@ else # need-sub-make
 
 ifeq ($(abs_srctree),$(abs_objtree))
         # building in the source tree
-        srctree := ./
+        srctree :=
 	building_out_of_srctree :=
 else
         ifeq ($(abs_srctree)/,$(dir $(abs_objtree)))
-- 
2.39.2


  reply	other threads:[~2024-02-21 23:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-21  1:23 [PATCH RFC 0/3] Adding trailing slash to $(srctree) Elliott Mitchell
2024-02-20 17:13 ` Elliott Mitchell [this message]
2024-02-20 17:13 ` [PATCH RFC 1/3] build: add " Elliott Mitchell
2024-02-20 17:13 ` [PATCH RFC 2/3] build: modify uses of $(srctree) to assume trailing slash Elliott Mitchell
2024-02-22  4:38 ` [PATCH RFC 0/3] Adding trailing slash to $(srctree) Masahiro Yamada
2024-02-22 16:11   ` Elliott Mitchell

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=93f26945aa19bc9f6226d8660fabc91d568fa83e.1708478592.git.ehem+linux@m5p.com \
    --to=ehem+raspberrypi@drgnwing.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=nathan@kernel.org \
    --cc=nicolas@fjasle.eu \
    /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.