[Skiboot] [RFC] Add support for glibc style endianess detection

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu May 4 22:56:55 AEST 2017


On Thu, 2017-05-04 at 09:21 +0530, Akshay Adiga wrote:
> build fails for extract-gcov.c as it expects GLIBC endian.h and not CCAN.
> 
> If i rename it as "/usr/include/endian.h" , it builds fine.
> 
> It used to work fine because $(SKIBOOT)/include/ will not have endian.h
> and fall back to GLIBC include.
> 
> Is there a way around it ?

extract-gcov.c is a host binary right ? I shouldn't include our stuff
by default in its -I directive.

Ben.



More information about the Skiboot mailing list