[LinuxBIOS] patch: add arch-dependent lib

ron minnich rminnich at gmail.com
Tue Jun 26 01:16:04 CEST 2007

On 6/25/07, Uwe Hermann <uwe at hermann-uwe.de> wrote:

> I think we handle this differently currently (and that works fine
> so far) -- we should not include include/arch/x86/arch/lib.h
> in include/lib.h, but rather change the Makefile to add the
> include/arch/x86 path to the includes.
> The only drawback is that we cannot have files with the same name
> in include/arch/FOO/arch/ and include/ (but that's already the case
> for the current files).

Right, I did this arch/lib.h thing in response to a request; people
did not like arch/x86/lib.h in includes. I personally like it, as it
reduces "magic".

I would rather NOT have the arch directory, and i would rather NOT
have duplicate names like lib.h.

So, quick, somebody, make a suggestion. Where do we put cpu-dependent
library functions? cpu.h?


More information about the coreboot mailing list