linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* headersinstall of kvm.h does not work
@ 2008-03-07 12:26 Christian Borntraeger
  2008-03-07 12:57 ` Avi Kivity
  2008-03-07 23:43 ` David Woodhouse
  0 siblings, 2 replies; 13+ messages in thread
From: Christian Borntraeger @ 2008-03-07 12:26 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Sam Ravnborg, kvm-devel, linux-kernel

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 <asm/kvm.h>, which <linux/kvm.h>
includes, not existing.  Rather than add a zillion <asm/kvm.h>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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-03-11 10:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-07 12:26 headersinstall of kvm.h does not work Christian Borntraeger
2008-03-07 12:57 ` Avi Kivity
2008-03-07 13:57   ` Christian Borntraeger
2008-03-07 16:08     ` Avi Kivity
2008-03-07 23:43 ` David Woodhouse
2008-03-10  8:13   ` [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install Christian Borntraeger
2008-03-10 11:23     ` Arnd Bergmann
2008-03-10 13:11   ` Christian Borntraeger
2008-03-11  6:20     ` Andrew Morton
2008-03-11  6:42       ` David Woodhouse
2008-03-11  7:10         ` Christian Borntraeger
2008-03-11  9:33           ` Andreas Schwab
2008-03-11 10:02             ` Christian Borntraeger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).