[OpenBIOS] Tidying up the modules subdirectory

Blue Swirl blauwirbel at gmail.com
Sat Mar 13 16:27:01 CET 2010


On 3/13/10, Mark Cave-Ayland <mark.cave-ayland at siriusit.co.uk> wrote:
> Blue Swirl wrote:
>
>
> > Yes, build is fixed now.
> >
>
>  Cool. I'm now taking a look at synchronising the layout between the
> OpenBIOS code directories and the include/ directory hierarchy and would
> like to suggest some changes here too.
>
>  In particular, I'd like to propose the following re-organisation:
>
>  1) Move the architecture specific dirs from include/ to include/arch

This is like what Linux used to do. I like slightly more how it's done
currently in Linux (arch/*/include) but this could require that arch
specific stuff lives completely inside arch/* and this is not the case
for for example PCI and other drivers.

>  2) Match the directory structure with the OpenBIOS code, e.g.
>
>    include/arch/.../
>    include/drivers/
>    include/kernel/
>    include/libc/ (already there)
>    include/libopenbios/

Good idea.

>  The only thing I am currently undecided upon is where to put the
> configuration files, e.g. config.h, sysinclude.h and mconfig.h. Should these
> just go directly under include/?

Probably.



More information about the OpenBIOS mailing list