On Wed, Feb 14, 2018 at 11:11:46AM -0700, Trammell Hudson wrote:
> When cross compiling inteltool with musl-libc the <sys/io.h> header
> is not included due to this test in inteltool.h:
> #if defined(__GLIBC__)
> #include <sys/io.h>
Same story on other platforms: sys/io.h is implemented through
i386_iopl(2)/amd64_iopl(2) and sysarch(2) on OpenBSD.
Many tools under util/ are developed with Linux/glibc in mind (only).
> Unfortunately I'm not sure what the right test is here, since
> the musl libc team is opposed to having a __MUSL__ define:
coreboot mailing list: email@example.com