From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MM034-0002MM-CR for qemu-devel@nongnu.org; Wed, 01 Jul 2009 09:40:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MM02z-0002Il-FL for qemu-devel@nongnu.org; Wed, 01 Jul 2009 09:40:29 -0400 Received: from [199.232.76.173] (port=36665 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MM02z-0002Ig-5u for qemu-devel@nongnu.org; Wed, 01 Jul 2009 09:40:25 -0400 Received: from one.firstfloor.org ([213.235.205.2]:55165) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MM02y-0004pf-PB for qemu-devel@nongnu.org; Wed, 01 Jul 2009 09:40:25 -0400 Date: Wed, 1 Jul 2009 15:40:20 +0200 From: Andi Kleen Subject: Re: [Qemu-devel] [PATCH] Set a useful default for kerneldir Message-ID: <20090701134020.GS6760@one.firstfloor.org> References: <20090701093319.GA12461@basil.fritz.box> <4A4B653B.5010203@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A4B653B.5010203@codemonkey.ws> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Andi Kleen , qemu-devel@nongnu.org On Wed, Jul 01, 2009 at 08:31:39AM -0500, Anthony Liguori wrote: > The reason we don't specify an explicit include is that it makes it > possible to have a cross compiler with headers installed in the cross > compilers root. If you default to /lib/modules, you have to explicitly > override it when cross compiling. You can still override it for special cases. This is just a better default than /usr/include which is near always wrong. -Andi -- ak@linux.intel.com -- Speaking for myself only.