[RTEMS Project] #3351: libbsd: Add support for conditional compilation of modules and compiler flags

RTEMS trac trac at rtems.org
Mon Mar 19 09:39:54 UTC 2018


#3351: libbsd: Add support for conditional compilation of modules and compiler
flags
--------------------------------+---------------------------------
 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):

 If we build multiple variants in one go we might have a lot of different
 variants soon because every option would double the variants.

 The IPSec is one option but we already had an application where we
 disabled IPv6 for one specific use case due to size reasons. Another
 option could be WiFi or no WiFi (which adds quite some code which isn't
 used by many applications). So it would be already eight different
 versions.

 My long-time direction would be to provide options via a configuration
 file (for example some ini). With that it would be possible to use
 different default configuration for some BSPs (for example the ones with /
 without WiFi). A user could provide his own config that matches his
 application. I still have to have a more detailed look over the option
 parser used in waf but I would expect that it can be somehow convinced to
 read options via a file too.

--
Ticket URL: <http://devel.rtems.org/ticket/3351#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list