[lkml]   [2005]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] slightly enhance cross builds
>>> Sam Ravnborg <> 08.11.05 00:04:26 >>>
>On Mon, Nov 07, 2005 at 01:58:46PM +0100, Jan Beulich wrote:
>> This adds functionality to default CROSS_COMPILE to a sensible
>> when cross-building (so one doesn't always have to specify this on
>> make command line), as well as storing ARCH and SUBARCH in the
>> Makefile
>> generated when building outside of the source directory (so that
>> subsequent make invocations don't have to always repeat these).
>This patch introduce different behaviour with and without make O=
>This will result on confusion and is bad.

Though I admit that I never build inside the source tree, I can't see
what you apparently do. Where/how would the behavior differ? If you just
mean the fact that in-source-tree builds will need to continue to
specify ARCH/SUBARCH on the make command line, then of course yes, this
is going to be different. But building in the source tree is a bad idea
in general in my opinion, and hence I would view this as the price you
pay. Of course this information could be stored in a hidden file in the
output tree (rather than in mkmakefile itself) if that's more

>The right approach is to come up with a patch that works in both

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

 \ /
  Last update: 2005-11-08 08:53    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean