blob: e68860f6b4865e34beb72b6b1431ed074c5ad47d [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001# Copyright (C) 2012 Khem Raj <raj.khem@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "Tools for managing Linux kernel modules"
5DESCRIPTION = "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."
7HOMEPAGE = "http://packages.profusion.mobi/kmod/"
8LICENSE = "GPL-2.0+ & LGPL-2.1+"
9LICENSE_libkmod = "LGPL-2.1+"
10SECTION = "base"
11
Patrick Williamsc124f4f2015-09-15 14:41:29 -050012LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
13 file://libkmod/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
14 "
Brad Bishop6e60e8b2018-02-01 10:27:11 -050015inherit autotools gtk-doc pkgconfig manpages
Patrick Williamsc124f4f2015-09-15 14:41:29 -050016
Brad Bishop19323692019-04-05 15:28:33 -040017SRCREV = "58133a96c894c043e48c74ddf0bfe8db90bac62f"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018# Lookout for PV bump too when SRCREV is changed
Brad Bishop19323692019-04-05 15:28:33 -040019PV = "26"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020
21SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git \
22 file://depmod-search.conf \
23 file://avoid_parallel_tests.patch \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050024 "
25
26S = "${WORKDIR}/git"
27
28EXTRA_AUTORECONF += "--install --symlink"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050029EXTRA_OECONF +=" --enable-tools --with-zlib"
30
31CACHED_CONFIGUREVARS += "ac_cv_path_DOLT_BASH='/usr/bin/env bash'"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050032
33PACKAGECONFIG[debug] = "--enable-debug,--disable-debug"
34PACKAGECONFIG[logging] = " --enable-logging,--disable-logging"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050035PACKAGECONFIG[manpages] = "--enable-manpages, --disable-manpages, libxslt-native xmlto-native"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050036
Brad Bishop316dfdd2018-06-25 12:45:53 -040037GTKDOC_DOCDIR = "${S}/libkmod/docs"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050038
39do_configure_append () {
40 sed -i 's#}libtool#}${TARGET_SYS}-libtool#' ${B}/doltlibtool
41}