Module rmox:config - RMoX configuration
RMoX configuration. The configuration for RMoX is held in the file occam/include/rmox_config.inc. This includes various directives on what to include or not include in the build, and particular default settings (e.g. for networking, or device I/O locations).
Directives are enabled by DEFINE-ing them, e.g.:
#DEFINE DRIVER.GEODE
#DEFINE DRIVER.GEODEGXFB
Directives can be disabled by not having them set, or by explicitly undefining them, e.g.:
#UNDEF DRIVER.GD5446FB
Occam-pi portions of RMoX may include this file directly to get access to the kernel configuration, e.g.:
#INCLUDE "rmox_config.inc"
The contents of this file are also used in determining what to compile at the top-level. To provide C-style directives to the build system, the top-level file config.occ emits a series of makefile style settings when compiled (by using occam-pi's #WARNING pre-processor directive). If new modules are added to the system, remember to edit them in rmox_config.inc as well as config.occ (for conditional compilation).