From: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
To: Pavel Roskin <proski@gnu.org>
Cc: linux <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Saving ARCH and CROSS_COMPILE in generated Makefile
Date: Thu, 5 May 2005 00:23:38 +0100 [thread overview]
Message-ID: <20050504232338.GF18977@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <1115248267.12758.21.camel@dv.roinet.com>
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.
next prev parent reply other threads:[~2005-05-04 23:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-04 23:11 Pavel Roskin
2005-05-04 23:23 ` Al Viro [this message]
2005-05-05 3:18 ` Pavel Roskin
2005-05-05 21:20 ` Sam Ravnborg
2005-05-05 21:56 ` Pavel Roskin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050504232338.GF18977@parcelfarce.linux.theplanet.co.uk \
--to=viro@parcelfarce.linux.theplanet.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=proski@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome