[OpenBIOS] [PATCH 3/5] On ppc64, asm/sigcontext.h includes asm/elf.h

Segher Boessenkool segher at kernel.crashing.org
Sat Oct 24 14:53:51 CEST 2015


On Sat, Oct 24, 2015 at 11:16:59AM +0200, Laurent Vivier wrote:
> asm/sigcontext.h:
> 
>     #ifdef __powerpc64__
>     #include <asm/elf.h>
>     #endif
> 
> to avoid to include here target/include/asm/elf.h, hardcode the path
> to /usr/include/asm/elf.h in it.

That only works for native builds on powerpc64-linux.  Is that all
that is wanted here?


Segher



More information about the OpenBIOS mailing list