From: Daniel Jacobowitz <dan@debian.org>
To: Jun Sun <jsun@mvista.com>
Cc: linux-mips@linux-mips.org
Subject: Re: [PATCH] allow CROSS_COMPILE override
Date: Thu, 20 Feb 2003 16:57:26 -0500 [thread overview]
Message-ID: <20030220215725.GA31222@nevyn.them.org> (raw)
In-Reply-To: <20030220124703.H7466@mvista.com>
On Thu, Feb 20, 2003 at 12:47:03PM -0800, Jun Sun wrote:
> Anybody would object this? It allows one to override
> CROSS_COMPILE from command line or top-level Makefile.
>
> Jun
>
Silly question: why does this matter if CROSS_COMPILE is on the command
line? Command line definitions override anything in the makefile. Is
it falling off the command line in a recursive make?
> diff -Nru linux/arch/mips/Makefile.orig linux/arch/mips/Makefile
> --- linux/arch/mips/Makefile.orig Thu Feb 20 10:49:18 2003
> +++ linux/arch/mips/Makefile Thu Feb 20 12:18:53 2003
> @@ -23,7 +23,9 @@
> endif
>
> ifdef CONFIG_CROSSCOMPILE
> -CROSS_COMPILE = $(tool-prefix)
> + ifndef CROSS_COMPILE
> + CROSS_COMPILE = $(tool-prefix)
> + endif
> endif
>
> #
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2003-02-20 21:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-20 20:47 [PATCH] allow CROSS_COMPILE override Jun Sun
2003-02-20 21:15 ` Brian Murphy
2003-02-20 21:23 ` Jun Sun
2003-02-20 21:35 ` Brian Murphy
2003-02-20 21:57 ` Pete Popov
2003-02-20 22:03 ` Brian Murphy
2003-02-21 0:08 ` Jun Sun
2003-02-20 21:57 ` Daniel Jacobowitz [this message]
2003-02-20 22:06 ` Brian Murphy
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=20030220215725.GA31222@nevyn.them.org \
--to=dan@debian.org \
--cc=jsun@mvista.com \
--cc=linux-mips@linux-mips.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