#3285: Reorganize BSP source directory
------------------------------+-----------------------------
Reporter: Sebastian Huber | Owner: Sebastian Huber
Type: task | Status: assigned
Priority: normal | Milestone: 5.1
Component: build | Version: 5
Severity: normal | Keywords:
Blocked By: | Blocking:
------------------------------+-----------------------------
Now, that all BSP header files are in
* bsps/include
* bsps/@RTEMS_CPU@/include
* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY@/include
we should also move the BSP sources to this new directory tree. How do we
want to organize the BSP sources in bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY@?
* include (this is already there, see #3254)
* start (everything required to run a minimal application without devices)
* start.S
* bspstart.c
* linkcmds
* cache.c
* smp
* bspsmp.c
* dev (Everything device driver related)
* clock.c
* console.c
* i2c.c
* spi.c
* make
* somebsp.cfg
* network (legacy network stack drivers)
* mpci (RTEMS_MULTIPROCESSING support)
Explicit directories for smp, network, mpci may make it possible to
automatically generate the Makefile.am with an AM_CONDITIONAL() for the
respective directory.
The excessive use of subdirectories which contain usually only one file
should be avoided.
The layout of external sources should be used as is if possible.
The first step is to move all libcpu sources to
* bsps/@RTEMS_CPU@/shared, or
* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY@.
--
Ticket URL: <http://devel.rtems.org/ticket/3285>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs