tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: config: conditional at clause (was: vio9p vs. GENERIC.local vs. XEN3_DOM[0U])



ef%math.uni-bonn.de@localhost (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.



Home | Main Index | Thread Index | Old Index