AW: [PATCH 1/3] Remove duplicate GRETH driver
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Oct 28 13:55:15 UTC 2020
On 27/10/2020 15:17, Jiri Gaisler wrote:
> On 10/26/20 8:52 AM, Jiri Gaisler wrote:
>> On 10/26/20 3:37 AM,Gabriel.Moyano at dlr.de wrote:
>>> Hi Jiri,
>>>
>>> My understanding was that one driver version was meant to be used with drvmgr (greth.c) and the other without it (greth2.c). May I ask why do you've chosen to remove greth.c and not greth2.c?
> I have fixed-up the greth.c file to avoid inline SPARC assembly code,
> but the file is not used even when RTEMS is compiled with
> --enable-drvmgr. The problem is that both greth2.c and greth.c are
> compiled, and as they define the same symbols, greth2.c is pulled in
> first by chance. I need to disable the building of the network files in
> bsps/shared/shared-sources.am when --enable-drvmgr is defined. Does
> anyone know how to do this? My skills in m4 etc. are limited ... :-(
>
>
The plan is to remove the old build system on November 1st. Please use
the new build system for this work.
In the new build system you can disable/enable parts via the
"enabled-by" attribute. For example:
enabled-by:
and:
- RTEMS_NETWORKING
- not: RTEMS_DRVMGR_STARTUP
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list