openbmc / pldm

Apache License 2.0
31 stars 40 forks source link

libpldm should not have linux dependencies #12

Closed crgeddes closed 4 years ago

crgeddes commented 4 years ago

We want libpldm to be as flexible as possible. Currently some of the files in libpldm are including asm/byteorder.h. We must be able to operate w/o this dependency. I think the only reason we pull it in now is to get the BIG_ENDIAN_BITFIELD/LITTLE_ENDIAN_BITFIELD #defines but I am not sure.

crgeddes commented 4 years ago

Hostboot was able to work around this issue, still the linux dependency should probably be noted somewhere.