[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <53DF9E62.2090007@suse.cz>
Date: Mon, 04 Aug 2014 16:53:22 +0200
From: Michal Marek <mmarek@...e.cz>
To: "Devin J. Pohly" <djpohly@...il.com>
CC: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] kbuild: use $(srctree) to locate config headers from
external modules
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists