forked from NetBSD/src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rump component_simple.c: Add _IOCONF_NO_CFDRIVER_DECL option
Some rump components (libpci_virtio, libvirtio_if_vioif, libvirtio_vioscsi) include their CFDRIVER_DECL(s) via their SRCS. When they link in component_simple to initialize their RUMP_COMPONENT, their CFDRIVER_DECLs are redefined in ioconf.c. This causes linker errors when trying to load these libraries. See: rumpkernel/rumprun#129 Add a preprocessor directive _IO_CONF_NO_CFDRIVER_DECL which will disable redefining the CFDRIVER_DECLs in component_simple when defined.
- Loading branch information
Showing
4 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters