Messages in this thread | | | Subject | Re: headersinstall of kvm.h does not work | From | David Woodhouse <> | Date | Sat, 08 Mar 2008 00:43:38 +0100 |
| |
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
| |