public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@sgi.com>
To: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: [PATCH] pull $CROSS_COMPILE from env. if present
Date: Mon, 19 May 2003 12:53:33 -0700	[thread overview]
Message-ID: <20030519195333.GC18426@sgi.com> (raw)

Simple patch to pull CROSS_COMPILE from the environment if it's
present, which makes it easier to compile the kernel with different
compiler versions and such.

Thanks,
Jesse


# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1093  -> 1.1094 
#	            Makefile	1.406   -> 1.407  
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/05/19	jbarnes@dec.engr.sgi.com	1.1094
# make CROSS_COMPILE come from an env. variable if present
# --------------------------------------------
#
diff -Nru a/Makefile b/Makefile
--- a/Makefile	Mon May 19 12:49:12 2003
+++ b/Makefile	Mon May 19 12:49:12 2003
@@ -53,7 +53,7 @@
 HOSTCFLAGS	= -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
 HOSTCXXFLAGS	= -O2
 
-CROSS_COMPILE 	=
+CROSS_COMPILE 	?=
 
 # 	That's our default target when none is given on the command line
 #	Note that 'modules' will be added as a prerequisite as well, 

             reply	other threads:[~2003-05-19 19:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-19 19:53 Jesse Barnes [this message]
2003-05-19 21:59 ` [PATCH] pull $CROSS_COMPILE from env. if present Sam Ravnborg
2003-05-19 22:29   ` Jesse Barnes

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=20030519195333.GC18426@sgi.com \
    --to=jbarnes@sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /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