summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel/kmod/kmod-native_git.bb
diff options
context:
space:
mode:
authorTing Liu <b28495@freescale.com>2013-09-10 06:00:20 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-14 16:54:27 +0100
commit63edb6b9a8bdf2f5541edd618f2f598185e37223 (patch)
tree0ea94bf1ac8c4c4759230b89a876d752681fe4b2 /meta/recipes-kernel/kmod/kmod-native_git.bb
parent0ddaf52e9e344986ae2b016cc068d9eee71b4347 (diff)
downloadopenembedded-core-63edb6b9a8bdf2f5541edd618f2f598185e37223.tar.gz
openembedded-core-63edb6b9a8bdf2f5541edd618f2f598185e37223.tar.bz2
openembedded-core-63edb6b9a8bdf2f5541edd618f2f598185e37223.zip
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. 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>
Diffstat (limited to 'meta/recipes-kernel/kmod/kmod-native_git.bb')
-rw-r--r--meta/recipes-kernel/kmod/kmod-native_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kmod/kmod-native_git.bb b/meta/recipes-kernel/kmod/kmod-native_git.bb
index f22efc0615..d008cbf7c4 100644
--- a/meta/recipes-kernel/kmod/kmod-native_git.bb
+++ b/meta/recipes-kernel/kmod/kmod-native_git.bb
@@ -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 (){