summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kmod/kmod.inc
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-03-28 17:42:41 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-01 23:37:01 +0100
commitae7a07976fbe7a93dbbd70db3f24a32156319756 (patch)
tree06ce122c20cdebd8aa77084f40e329a7e341d383 /meta/recipes-kernel/kmod/kmod.inc
parentc48aff883aeb28703c03ab9415c1c2c8adc3b9b4 (diff)
downloadpoky-ae7a07976fbe7a93dbbd70db3f24a32156319756.tar.gz
kmod: fix O_CLOEXEC not supported on old kernel
O_CLOEXEC is introduced from Linux 2.6.23, so old kernel doesn't have it, we need check before use. This patch is much more like a workaround, since it may need fcntl() use FD_CLOEXEC to replace. (From OE-Core rev: 44c441222002ee0177100be0431adf91984e90d5) Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/kmod/kmod.inc')
-rw-r--r--meta/recipes-kernel/kmod/kmod.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kmod/kmod.inc b/meta/recipes-kernel/kmod/kmod.inc
index b7e176c876..47445eb8bf 100644
--- a/meta/recipes-kernel/kmod/kmod.inc
+++ b/meta/recipes-kernel/kmod/kmod.inc
@@ -25,6 +25,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git \
25 file://run-ptest \ 25 file://run-ptest \
26 file://ptest.patch \ 26 file://ptest.patch \
27 file://avoid_parallel_tests.patch \ 27 file://avoid_parallel_tests.patch \
28 file://fix-O_CLOEXEC.patch \
28 " 29 "
29 30
30S = "${WORKDIR}/git" 31S = "${WORKDIR}/git"