How to avoid code duplication in my new RTEMS port

Chris Johns chrisj at rtems.org
Fri Jul 26 09:55:35 UTC 2013


Sebastian Huber wrote:
>
> The sharing of driver code is one of the worst things in RTEMS. The BSP
> centric directory structure leaded to a lot of copy and paste stuff.

I agree. This needs to be looked at post 4.11.

> This libcpu directory is from my point of view a disaster. It only
> scatters things more and the build system support is a nightmare.

I agree 100%. The build system files in libcpu are just scary. Mapping 
out what they actually do it no easy task.

Chris



More information about the devel mailing list