gallium/util: move endian detect into a separate file
authorDave Airlie <airlied@redhat.com>
Sun, 4 Sep 2016 23:52:10 +0000 (09:52 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Sep 2016 00:06:24 +0000 (10:06 +1000)
commit1add3562e33f0234da50e54dda8cfa6dac613125
tree83f0e88f7f50624ac1b218f70bdb8a5284bd0309
parenta86be7b6ad2b9b909202fa0653b96cffb3131137
gallium/util: move endian detect into a separate file

This just ports the simpler endian detection bits, addrlib
sharing wants this outside gallium.

Acked-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/include/pipe/p_config.h
src/util/Makefile.sources
src/util/u_endian.h [new file with mode: 0644]