Linux-KBuild Archive mirror
 help / color / mirror / Atom feed
From: "Daniel Walker (danielwa)" <danielwa@cisco.com>
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: Jing Leng <jleng@ambarella.com>,
	"Valerii Chernous -X (vchernou - GLOBALLOGIC INC at Cisco)"
	<vchernou@cisco.com>,
	"xe-linux-external(mailer list)" <xe-linux-external@cisco.com>,
	"linux-kbuild@vger.kernel.org" <linux-kbuild@vger.kernel.org>
Subject: M= modules build w/ objects in different directory
Date: Tue, 19 Mar 2024 23:18:51 +0000	[thread overview]
Message-ID: <ZfodWv+E6Ekqr7fl@goliath> (raw)


Masahiro,

I found this commit,

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=23a0cb8e3225122496bfa79172005c587c2d64bf

It had this note,

[masahiro: I do not think "M=$(OUT_DIR) src=$(PWD)" is the official way,
but this patch is a nice clean up anyway.]

Is there an official way or recommended way to build objects in a directory
outside the external modules source directory and outside the original kernel
source directory ?

Daniel

             reply	other threads:[~2024-03-19 23:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-19 23:18 Daniel Walker (danielwa) [this message]
2024-03-20 15:01 ` M= modules build w/ objects in different directory Masahiro Yamada
2024-03-27 16:40   ` Daniel Walker (danielwa)
2024-03-30 23:10     ` Masahiro Yamada

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=ZfodWv+E6Ekqr7fl@goliath \
    --to=danielwa@cisco.com \
    --cc=jleng@ambarella.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=vchernou@cisco.com \
    --cc=xe-linux-external@cisco.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).