mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
kmod-native: use bswap to work on older Linux hosts
We can't use htobe* and be*toh functions because they are not available on older versions of glibc, For example, shipped on Centos 5.5. Change to directly calling bswap_* as defined in byteswap.h. (From OE-Core rev: 63edb6b9a8bdf2f5541edd618f2f598185e37223) Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -6,6 +6,7 @@ inherit native
|
||||
|
||||
SRC_URI += "file://fix-undefined-O_CLOEXEC.patch \
|
||||
file://0001-Fix-build-with-older-gcc-4.6.patch \
|
||||
file://Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch \
|
||||
"
|
||||
|
||||
do_install_append (){
|
||||
|
||||
Reference in New Issue
Block a user