All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Devin J. Pohly" <djpohly@gmail.com>
To: Michal Marek <mmarek@suse.cz>
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, 4 Aug 2014 10:43:20 -0400	[thread overview]
Message-ID: <20140804144320.GA4379@chiri> (raw)
In-Reply-To: <53DF944C.2090207@suse.cz>

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.

$ make -C $KDIR M=$PWD modules
$ make -C $KDIR M=$PWD INSTALL_MOD_PATH=$pkgdir modules_install

works as expected, and the only patch needed was to my brain. :)  Mea
culpa.

*dp


  reply	other threads:[~2014-08-04 14:41 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 [this message]
2014-08-04 14:53     ` 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=20140804144320.GA4379@chiri \
    --to=djpohly@gmail.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.