From: Jerone Young <jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [PATCH] [2/2] Split arch specific makefile code out
Date: Sun, 07 Oct 2007 21:03:34 -0500 [thread overview]
Message-ID: <1191809014.6224.11.camel@laptop> (raw)
In-Reply-To: <4708C81E.8090701-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
On Sun, 2007-10-07 at 13:50 +0200, Avi Kivity wrote:
> Jerone Young wrote:
> > This patch makes things better for cross compiling. It also makes adding
> > a new architecture to the current make system much easier.
> >
>
> > +CFLAGS += -I $(KERNELDIR)/include $(autodepend-flags) -g -fomit-frame-pointer \
> > + -Wall
> > +CFLAGS += -m32
> > +CFLAGS += -m64
Hmm.. if this is in my patch this is probably a mistake on my part.
Shouldn't be adding -m32 & -m64 on the same CFLAGS.
> >
>
> Nowhere is CFLAGS defined, that I can see. This means that a stray
> CFLAGS environment variable will affect the build (this is the cause of
> my dislike to ?= as well).
I believe I was thinking that you might for a specific arch in
config-$ARCH first declare any CFLAGS that other architectures wouldn't
use. So probably a better way to do this is to have CFLAGS declaration
begin at the point you describe, and then include config-$ARCH after
this point.
I'll submit some new patches shortly.
>
> Please change so that make variables cannot be affected by the environment.
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
prev parent reply other threads:[~2007-10-08 2:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-02 20:25 [PATCH] [2/2] Split arch specific makefile code out Jerone Young
2007-10-07 11:50 ` Avi Kivity
[not found] ` <4708C81E.8090701-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-08 2:03 ` Jerone Young [this message]
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=1191809014.6224.11.camel@laptop \
--to=jyoung5-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
--cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.