Re: [PATCH] Saving ARCH and CROSS_COMPILE in generated Makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux