All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Marek <mmarek@suse.cz>
To: "Devin J. Pohly" <djpohly@gmail.com>
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] kbuild: use $(srctree) to locate config headers from external modules
Date: Mon, 04 Aug 2014 16:53:22 +0200	[thread overview]
Message-ID: <53DF9E62.2090007@suse.cz> (raw)
In-Reply-To: <20140804144320.GA4379@chiri>

On 2014-08-04 16:43, Devin J. Pohly wrote:
> On Mon, Aug 04, 2014 at 04:10:20PM +0200, Michal Marek wrote:
>> include/generated is located in $(KBUILD_OUTPUT), which is different
>> from $(srctree) when using O=. Can you post a sequence of commands that
>> leads to the error you are seeing?
>>
>> Thanks,
>> Michal
> 
> Well, I was attempting to do something like this:
> 
> $ make -C $KDIR M=$PWD modules
> $ make -C $KDIR M=$PWD O=$pkgdir modules_install
> 
> ... but I your statement just made the problem really obvious: I don't
> need to be using O= at all in this case.  Duh.

Right, the directory you use in make -C ... M=$PWD when building an out
of tree module is the directory you used in make O=... when building the
kernel.

Michal

      reply	other threads:[~2014-08-04 14:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-01 19:47 [PATCH 1/1] kbuild: use $(srctree) to locate config headers from external modules Devin J. Pohly
2014-08-04 14:10 ` Michal Marek
2014-08-04 14:43   ` Devin J. Pohly
2014-08-04 14:53     ` Michal Marek [this message]

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=53DF9E62.2090007@suse.cz \
    --to=mmarek@suse.cz \
    --cc=djpohly@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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.