Messages in this thread | | | Date | Thu, 5 May 2005 00:23:38 +0100 | From | Al Viro <> | Subject | Re: [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/
| |