All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Vivier <Laurent.Vivier-6ktuUTfB/bM@public.gmane.org>
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [kvm-commits] kvm: revert r4386 (rev 4422)
Date: Wed, 14 Feb 2007 14:31:09 +0100	[thread overview]
Message-ID: <45D30F1D.6060803@bull.net> (raw)
In-Reply-To: <45D30B79.6080807-atKUWr5tajBWk0Htik3J/w@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 1558 bytes --]

Avi Kivity wrote:
> Muli Ben-Yehuda wrote:
>> On Wed, Feb 14, 2007 at 10:25:46AM +0200, Avi Kivity wrote:
>>   
>>> Muli Ben-Yehuda wrote:
>>>     
>>>> On Wed, Feb 14, 2007 at 09:57:13AM +0200, Avi Kivity wrote:
>>>>  
>>>>       
>>>>> kvm: revert r4386
>>>>>
>>>>> causes breakage, as well as using evil '?=' assignment.
>>>>>    
>>>>>         
>>>> *sigh*, this breaks --kerneldir.
>>>>
>>>> The patch I resent early this morning does the right thing.
>>>>       
>>> Well, --kerneldir should be fixed without ?= and with testing.
>>>     
>> What's wrong with '?='?
>>   
> 
> It allows environment variables to affect the compilation.

Environment variables affect compilation, try:

# cd kvm-13
# make clean
# ./configure --prefix=/usr --with-patched-kernel
# export CC=toto
# make
make -C user
make[1]: Entering directory `/home/vivierl/kvm-13/user'
toto -I /usr/src/linux-2.6.20/include -MMD -MF ./.kvmctl.d -g   -c -o kvmctl.o
kvmctl.c
make[1]: toto: Command not found
make[1]: *** [kvmctl.o] Error 127
make[1]: Leaving directory `/home/vivierl/kvm-13/user'
make: *** [user] Error 2

If you protect "KERNELDIR", perhaps you should protect "CC" too... and all other
shell variables.
IMHO, it is more flexible to allow environment to affect behaviour of commands :
it is the aim of shell variables.

Regards,
Laurent
-- 
------------- Laurent.Vivier-6ktuUTfB/bM@public.gmane.org  --------------
       "Any sufficiently advanced technology is
  indistinguishable from magic." - Arthur C. Clarke


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #3: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

  parent reply	other threads:[~2007-02-14 13:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070214075713.2D6DC250354@il.qumranet.com>
     [not found] ` <20070214075713.2D6DC250354-LjA0eNSCdXrQnzwC+xcbyw@public.gmane.org>
2007-02-14  8:06   ` [kvm-commits] kvm: revert r4386 (rev 4422) Muli Ben-Yehuda
     [not found]     ` <20070214080623.GD461-k73YwwB0fHlWk0Htik3J/w@public.gmane.org>
2007-02-14  8:25       ` Avi Kivity
     [not found]         ` <45D2C78A.4060203-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-02-14  8:30           ` Muli Ben-Yehuda
     [not found]             ` <20070214083039.GE461-k73YwwB0fHlWk0Htik3J/w@public.gmane.org>
2007-02-14 13:15               ` Avi Kivity
     [not found]                 ` <45D30B79.6080807-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-02-14 13:31                   ` Laurent Vivier [this message]
2007-02-14 17:50                   ` Muli Ben-Yehuda

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=45D30F1D.6060803@bull.net \
    --to=laurent.vivier-6ktuutfb/bm@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.