lkml.org 
[lkml]   [2005]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Saving ARCH and CROSS_COMPILE in generated Makefile
On Wed, May 04, 2005 at 07:11:07PM -0400, Pavel Roskin wrote:
> Unfortunately, builds in the source directory would not profit from this
> patch. Perhaps we could always generate "makefile" or "GNUmakefile" in
> the build directory, but it would be another patch. Anyway, few people
> cross-compile their kernels, and it's not unreasonable to encourage them
> to use out-of-tree builds.
>
> SUBARCH is not saved on purpose, since users are not supposed to
> override it.

WTF not? Consider, e.g. uml/i386 and uml/amd64.

In any case, there's no reason to mess with that at all. This stuff is
trivally dealt with by a wrapper script that takes target name as its
first argument (the rest is passed to make unchanged) and figures out
ARCH, CROSS_COMPILE, SUBARCH and build directory by it. End of story.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-05 01:26    [W:0.071 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site