diff options
Diffstat (limited to 'meta/recipes-kernel/kmod/kmod.inc')
-rw-r--r-- | meta/recipes-kernel/kmod/kmod.inc | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kmod/kmod.inc b/meta/recipes-kernel/kmod/kmod.inc new file mode 100644 index 0000000000..dda74c85b6 --- /dev/null +++ b/meta/recipes-kernel/kmod/kmod.inc | |||
@@ -0,0 +1,39 @@ | |||
1 | # Copyright (C) 2012 Khem Raj <raj.khem@gmail.com> | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | SUMMARY = "Tools for managing Linux kernel modules" | ||
5 | DESCRIPTION = "kmod is a set of tools to handle common tasks with Linux kernel modules like \ | ||
6 | insert, remove, list, check properties, resolve dependencies and aliases." | ||
7 | HOMEPAGE = "http://packages.profusion.mobi/kmod/" | ||
8 | LICENSE = "GPL-2.0+ & LGPL-2.1+" | ||
9 | LICENSE_libkmod = "LGPL-2.1+" | ||
10 | SECTION = "base" | ||
11 | |||
12 | DEPENDS += "pkgconfig-native" | ||
13 | |||
14 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ | ||
15 | file://libkmod/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | ||
16 | " | ||
17 | inherit autotools gtk-doc ptest | ||
18 | |||
19 | SRCREV = "ae58de0fcb4a6528dd365e23d383bbe2eaf2d566" | ||
20 | # Lookout for PV bump too when SRCREV is changed | ||
21 | PV = "18+git${SRCPV}" | ||
22 | |||
23 | SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git \ | ||
24 | file://depmod-search.conf \ | ||
25 | file://run-ptest \ | ||
26 | file://ptest.patch \ | ||
27 | file://avoid_parallel_tests.patch \ | ||
28 | file://fix-O_CLOEXEC.patch \ | ||
29 | file://0001-Add-missing-O_CLOEXEC-in-kmod_module_get_size.patch \ | ||
30 | " | ||
31 | |||
32 | S = "${WORKDIR}/git" | ||
33 | |||
34 | EXTRA_AUTORECONF += "--install --symlink" | ||
35 | EXTRA_OECONF +="--enable-debug --enable-logging --enable-tools --disable-manpages --with-zlib" | ||
36 | |||
37 | do_configure_prepend () { | ||
38 | gtkdocize --docdir ${S}/libkmod/docs || touch ${S}/libkmod/docs/gtk-doc.make | ||
39 | } | ||