New source layout.

Amar Takhar amar at rtems.org
Thu Mar 12 13:21:58 UTC 2015


On 2015-03-12 14:19 +0100, Sebastian Huber wrote:
> 
> 
> On 12/03/15 14:13, Amar Takhar wrote:
> > On 2015-03-12 14:10 +0100, Sebastian Huber wrote:
> >>
> >>> #include <rtems/sparc/cpu.h>
> >>> #include <rtems/score/percpu.h>
> >> This will not work. We have sparc, arm, powerpc etc. and they must not
> >> be visible at the same time.
> > What do you mean by 'visible'?
> 
> If I build for arm, then I need the arm <rtems/score/cpu.h> and not the 
> one for sparc or powerpc.

I wasn't clear.  Wherever you include 'percpu.h' you would include the correct 
cpu.h above it and remove the #include <...cpu.h> from percpu.h.


Amar.



More information about the devel mailing list