From: Chris Friesen Subject: Re: [BUG] need to export variables in config.mak Date: Fri, 30 Sep 2011 12:14:27 -0600 Message-ID: <4E860703.5000906@genband.com> References: <4E85F741.2050100@genband.com> <4E8601C8.7030109@twiddle.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jan Kiszka , qemu-devel@nongnu.org, kvm@vger.kernel.org, Avi Kivity To: Richard Henderson Return-path: In-Reply-To: <4E8601C8.7030109@twiddle.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org On 09/30/2011 11:52 AM, Richard Henderson wrote: > On 09/30/2011 10:07 AM, Chris Friesen wrote: >> We've been playing a bit with kvm-kmod-3.0b. We use a cross compile >> environment, and one of my coworkers noticed that the variables in >> config.mak weren't actually exported and so didn't actually have any >> effect. > > Please elaborate on "no effect", and what actual problems you are > experiencing. I do cross-compilation builds all the time and have > no such problems. The behaviour I see is that I configure with --cross-prefix= then the appropriate prefix gets set in config.mak. However, when running "make" the prefix doesn't actually get used. If building for the same target as the host machine this isn't immediately obvious because it uses the host compiler. However, if you run "make V=1" it will show which compiler is being used. Chris -- Chris Friesen Software Developer GENBAND chris.friesen@genband.com www.genband.com