mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
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>
39 lines
1.4 KiB
PHP
39 lines
1.4 KiB
PHP
# Copyright (C) 2012 Khem Raj <raj.khem@gmail.com>
|
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
|
|
|
SUMMARY = "Tools for managing Linux kernel modules"
|
|
DESCRIPTION = "kmod is a set of tools to handle common tasks with Linux kernel modules like \
|
|
insert, remove, list, check properties, resolve dependencies and aliases."
|
|
HOMEPAGE = "http://packages.profusion.mobi/kmod/"
|
|
LICENSE = "GPL-2.0+ & LGPL-2.1+"
|
|
LICENSE_libkmod = "LGPL-2.1+"
|
|
SECTION = "base"
|
|
|
|
DEPENDS += "pkgconfig-native"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
|
|
file://libkmod/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
|
|
"
|
|
inherit autotools gtk-doc ptest
|
|
|
|
SRCREV = "36c4bb928a6a7962dd0ad3aa64c0b18120ca5b46"
|
|
# Lookout for PV bump too when SRCREV is changed
|
|
PV = "16+git${SRCPV}"
|
|
|
|
SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git \
|
|
file://depmod-search.conf \
|
|
file://run-ptest \
|
|
file://ptest.patch \
|
|
file://avoid_parallel_tests.patch \
|
|
file://fix-O_CLOEXEC.patch \
|
|
"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
EXTRA_AUTORECONF += "--install --symlink"
|
|
EXTRA_OECONF +="--enable-debug --enable-logging --enable-tools --disable-manpages --with-zlib"
|
|
|
|
do_configure_prepend () {
|
|
gtkdocize --docdir ${S}/libkmod/docs || touch ${S}/libkmod/docs/gtk-doc.make
|
|
}
|