From: David Woodhouse Subject: Re: headersinstall of kvm.h does not work Date: Sat, 08 Mar 2008 00:43:38 +0100 Message-ID: <1204933418.2495.14.camel@shinybook.infradead.org> References: <200803071326.06682.borntraeger@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net, Sam Ravnborg , linux-kernel@vger.kernel.org, Avi Kivity To: Christian Borntraeger Return-path: In-Reply-To: <200803071326.06682.borntraeger@de.ibm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org On Fri, 2008-03-07 at 13:26 +0100, Christian Borntraeger wrote: > +unifdef-$(CONFIG_HAVE_KVM) += kvm.h > unifdef-y += llc.h > unifdef-y += loop.h > ----snip------ > > This patch does not work. Kbuild (scripts/Makefile.headersinst) does > not check the config file, so kvm.h is never installed. > > Sam is there an easy way to allow constructs like > "unifdef-$(CONFIG_FOO)"? That might be justifiable for HAVE_xxx which is a constant for any given architecture -- but I predict that soon as we add such a facility, it would get abused for stuff which really _is_ configurable. And that would make me sad. -- dwmw2 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/