Re: config: conditional at clause (was: vio9p vs. GENERIC.local vs. XEN3_DOM[0U])
[email protected] (Michael van Elst)
| Newsgroups | gmane.os.netbsd.devel.kernel |
|---|---|
| Organization | Serpens User Group |
| Message-ID | <[email protected]> |
[email protected] (Edgar =?iso-8859-1?B?RnXf?=) writes: >> The right level of abstraction is to do something that says >> >> if there is a virtio bus, add viop* at virtio* >I have no idea about config's internal workings, but what about > viop* at? virtio* What you can do is e.g. ifndef xpci vio9p* at virtio? endif The conditional configuration only works on attributes and the various virtio attributes are currently defined unconditionally. But the xpci attribute only exists for x86/xen builds.