[RTEMS Project] #4145: rtems-source-builder: Update RTEMS Kernel Recipe to Use waf for RTEMS

RTEMS trac trac at rtems.org
Mon Nov 9 04:54:19 UTC 2020


#4145: rtems-source-builder: Update RTEMS Kernel Recipe to Use waf for RTEMS
---------------------------+---------------------
 Reporter:  Joel Sherrill  |       Owner:  (none)
     Type:  defect         |      Status:  new
 Priority:  normal         |   Milestone:  6.1
Component:  tool/rsb       |     Version:  6
 Severity:  normal         |  Resolution:
 Keywords:  wafblocker     |  Blocked By:
 Blocking:                 |
---------------------------+---------------------

Comment (by Chris Johns):

 This is not as easy as I thought it might be. Let me explain ...

 The `config.ini` file hides some important detail the RSB needs. The RSB
 currently names the package as:
 {{{
 rtems-%{rtems_version}-%{_target}-%{rtems_bsp}-%{_host}-%{release}
 }}}
 The target and BSP are in the build config file and a config file could
 build a mix of architectures breaking this naming.

 The simplest approach is to take the arguments provided to the RSB and
 create a `config.ini` file but this would be limiting where complex BSP
 options are needed.

 I could check if the `--with-rtems-bspopts` option is a path and that
 could be a list of specific BSP options appended into the BSP specific
 area.

 Should the following options print a depreciate warning:
  `--with-rtems-legacy-network`
  `--with-rtems-cxx`
 I am not sure about `--with-rtems-posix`. I think it should be removed and
 POSIX always be enabled.

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


More information about the bugs mailing list