Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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." |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 7 | HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/kmod/" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 8 | LICENSE = "GPL-2.0+ & LGPL-2.1+" |
| 9 | LICENSE_libkmod = "LGPL-2.1+" |
| 10 | SECTION = "base" |
| 11 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ |
| 13 | file://libkmod/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ |
Andrew Geissler | 4c19ea1 | 2020-10-27 13:52:24 -0500 | [diff] [blame] | 14 | file://tools/COPYING;md5=751419260aa954499f7abaabaa882bbe \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 15 | " |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 16 | inherit autotools gtk-doc pkgconfig manpages |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 17 | |
William A. Kennington III | ac69b48 | 2021-06-02 12:28:27 -0700 | [diff] [blame] | 18 | SRCREV = "b6ecfc916a17eab8f93be5b09f4e4f845aabd3d1" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 19 | # Lookout for PV bump too when SRCREV is changed |
William A. Kennington III | ac69b48 | 2021-06-02 12:28:27 -0700 | [diff] [blame] | 20 | PV = "29" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 21 | |
| 22 | SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git \ |
| 23 | file://depmod-search.conf \ |
| 24 | file://avoid_parallel_tests.patch \ |
Andrew Geissler | 4ed12e1 | 2020-06-05 18:00:41 -0500 | [diff] [blame] | 25 | " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 26 | |
| 27 | S = "${WORKDIR}/git" |
| 28 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 29 | EXTRA_OECONF +=" --enable-tools --with-zlib" |
| 30 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 31 | PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" |
| 32 | PACKAGECONFIG[logging] = " --enable-logging,--disable-logging" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 33 | PACKAGECONFIG[manpages] = "--enable-manpages, --disable-manpages, libxslt-native xmlto-native" |
Andrew Geissler | b7d2861 | 2020-07-24 16:15:54 -0500 | [diff] [blame] | 34 | PACKAGECONFIG[xz] = "--with-xz,--without-xz,xz" |
| 35 | PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 36 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 37 | GTKDOC_DOCDIR = "${S}/libkmod/docs" |