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.moy...@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.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to