[OpenBIOS] [PATCH 3/5] On ppc64, asm/sigcontext.h includes asm/elf.h
Mark Cave-Ayland
mark.cave-ayland at ilande.co.uk
Sun Oct 25 12:36:03 CET 2015
On 24/10/15 13:53, Segher Boessenkool wrote:
> 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?
Hmmm that does seem a bit unusual. Is there a better solution for this?
Perhaps changing the layout of the OpenBIOS headers to avoid include
confusion?
ATB,
Mark.
More information about the OpenBIOS
mailing list