blob: ccda9f2b73f69ce0b4e5441a56a505255eab4035 [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."
Andrew Geissler6ce62a22020-11-30 19:58:47 -06007HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/kmod/"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008LICENSE = "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 \
Andrew Geissler4c19ea12020-10-27 13:52:24 -050014 file://tools/COPYING;md5=751419260aa954499f7abaabaa882bbe \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015 "
Brad Bishop6e60e8b2018-02-01 10:27:11 -050016inherit autotools gtk-doc pkgconfig manpages
Patrick Williamsc124f4f2015-09-15 14:41:29 -050017
Andrew Geisslerd1e89492021-02-12 15:35:20 -060018SRCREV = "1ccfe994287119cc6cef37a7ca4c529d89de4b95"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019# Lookout for PV bump too when SRCREV is changed
Andrew Geisslerd1e89492021-02-12 15:35:20 -060020PV = "28"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050021
22SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git \
23 file://depmod-search.conf \
24 file://avoid_parallel_tests.patch \
Andrew Geissler4ed12e12020-06-05 18:00:41 -050025 "
Patrick Williamsc124f4f2015-09-15 14:41:29 -050026
27S = "${WORKDIR}/git"
28
29EXTRA_AUTORECONF += "--install --symlink"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050030EXTRA_OECONF +=" --enable-tools --with-zlib"
31
Patrick Williamsc124f4f2015-09-15 14:41:29 -050032PACKAGECONFIG[debug] = "--enable-debug,--disable-debug"
33PACKAGECONFIG[logging] = " --enable-logging,--disable-logging"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050034PACKAGECONFIG[manpages] = "--enable-manpages, --disable-manpages, libxslt-native xmlto-native"
Andrew Geisslerb7d28612020-07-24 16:15:54 -050035PACKAGECONFIG[xz] = "--with-xz,--without-xz,xz"
36PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050037
Brad Bishop316dfdd2018-06-25 12:45:53 -040038GTKDOC_DOCDIR = "${S}/libkmod/docs"