[RTEMS Project] #3351: libbsd: Introduce buildsets that allow to enable or disable parts of libbsd to get for example smaller or faster configurations. (was: libbsd: Add support for conditional compilation of modules and compiler flags)
RTEMS trac
trac at rtems.org
Fri Apr 27 11:47:21 UTC 2018
#3351: libbsd: Introduce buildsets that allow to enable or disable parts of libbsd
to get for example smaller or faster configurations.
--------------------------------+---------------------------------
Reporter: Christian Mauderer | Owner: Christian Mauderer
Type: enhancement | Status: assigned
Priority: normal | Milestone: Indefinite
Component: network/libbsd | Version: 5
Severity: normal | Resolution:
Keywords: libbsd waf IPSec | Blocked By:
Blocking: |
--------------------------------+---------------------------------
Comment (by Christian Mauderer):
To make things more user friendly I dropped the original intend to allow
to set the compiler flags with the configuration. Otherwise a user would
have to know that he has to drop for example the netinet6 module ''and''
remove the INET6 compiler flag.
Instead, I now generate a header file that has defines for all enabled
modules. That also allows to (for example) simply switch off the
constructor for wifi in ifconfig. Without the header, it would have been
necessary to enable a "no_wifi" module that provides an empty
implementation of that constructor when the wifi-modules are disabled.
--
Ticket URL: <http://devel.rtems.org/ticket/3351#comment:14>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list