summaryrefslogtreecommitdiffstats
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-12-12 16:59:52 +0000
commit63d6c644a3bf16449d5dd0b0d4c0b6dac40ec4c6 (patch)
tree22899a35c7ed97416b914ad1db8d1f687f75f22c /meta/recipes-kernel/kmod/kmod-native_git.bb
parentfb354a3a1c6eb79212db09547068e147b3be4aed (diff)
downloadpoky-63d6c644a3bf16449d5dd0b0d4c0b6dac40ec4c6.tar.gz
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 master rev: 63edb6b9a8bdf2f5541edd618f2f598185e37223) (From OE-Core rev: 2e791639625746037626e348cfac4ad1109bb9ae) 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> Signed-off-by: Robert Yang <liezhi.yang@windriver.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
6 6
7SRC_URI += "file://fix-undefined-O_CLOEXEC.patch \ 7SRC_URI += "file://fix-undefined-O_CLOEXEC.patch \
8 file://0001-Fix-build-with-older-gcc-4.6.patch \ 8 file://0001-Fix-build-with-older-gcc-4.6.patch \
9 file://Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch \
9 " 10 "
10 11
11do_install_append (){ 12do_install_append (){