From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762164AbYCGM0X (ORCPT ); Fri, 7 Mar 2008 07:26:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754445AbYCGM0N (ORCPT ); Fri, 7 Mar 2008 07:26:13 -0500 Received: from mtagate6.de.ibm.com ([195.212.29.155]:24687 "EHLO mtagate6.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752091AbYCGM0M (ORCPT ); Fri, 7 Mar 2008 07:26:12 -0500 From: Christian Borntraeger To: Avi Kivity Subject: headersinstall of kvm.h does not work Date: Fri, 7 Mar 2008 13:26:06 +0100 User-Agent: KMail/1.9.7 Cc: Sam Ravnborg , kvm-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803071326.06682.borntraeger@de.ibm.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Avi, in commit fb56dbb31c4738a3918db81fd24da732ce3b4ae6 you changed include/linux/Kbuild: ----snip---- KVM: Export include/linux/kvm.h only if $ARCH actually supports KVM Currently, make headers_check barfs due to , which includes, not existing. Rather than add a zillion s, export kvm.h only if the arch actually supports it. [...] unifdef-y += keyboard.h -unifdef-y += kvm.h +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)"? Thanks Christian