Re: [PATCH] Makefile: One last adjustment to relative paths

From: Boaz Harrosh
Date: Tue Aug 26 2014 - 10:24:21 EST

On 08/25/2014 04:40 PM, Michal Marek wrote:
> So I don't understand why are you getting a message with a relative
> path. I get an absolute path as expected here:
> $ mkdir aaa
> $ make O=aaa defconfig
> make[1]: Entering directory `/home/mmarek/linux-2.6/aaa'

OK that was an operator error. You are absolutely right

What happened is that my makefile was using
make KBUILD_OUTPUT=.build_um -C linux
and not
make O=.build_um -C linux

This was done at the time because when building out-of-tree
modules (I Have some test modules that I build in my project)
You must use KBUILD_OUTPUT= because O= is used by the external
module build system.

But reverting to use the O= as it should be all is well
and it works as you say

Sorry for the noise

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at