On Thu, 31 Mar 2022, Paul Goyette wrote:
I trying to merge the midi and sequencer modules (to resolve some
circular dependency), and running into a problem getting the build
to create a combined ioconf.[ch] file.
I've joined the two pre-existing ioconf files thusly:
ioconf midi
include "conf/files"
pseudo-root midibus*
midi* at midibus?
ioconf sequencer <<<---
pseudo-root midi* <<<---
pseudo-device sequencer
I've tried with all four combinations of including/omitting the
two <<<--- lines, without any success. config(1) creates all of
the stuff for midi but doesn't create anything for the sequencer
device.
Any suggestions on how to make this work?
Interestingly, config _does_ create the declaration for the
sequencerattach() routine in ionconf.h but it declares a cfdriver
only for midi; there is no cfdriver for the sequencer device.
+--------------------+--------------------------+----------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org |
| & Network Engineer | | pgoyett...@gmail.com |
+--------------------+--------------------------+----------------------+