diff options
Diffstat (limited to 'meta/recipes-kernel/kmod/kmod.inc')
| -rw-r--r-- | meta/recipes-kernel/kmod/kmod.inc | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/meta/recipes-kernel/kmod/kmod.inc b/meta/recipes-kernel/kmod/kmod.inc index a780b6c15f..ba80fc57a3 100644 --- a/meta/recipes-kernel/kmod/kmod.inc +++ b/meta/recipes-kernel/kmod/kmod.inc @@ -1,36 +1,45 @@ # 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" -PV = "9" -INC_PR = "r0" -DEPENDS += "pkgconfig-native" - -LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ +LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ file://libkmod/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ " -inherit autotools gtk-doc ptest +inherit autotools gtk-doc pkgconfig manpages + +SRCREV = "65a885df5f6f15222b44fd695c5eaca17e837a14" +# Lookout for PV bump too when SRCREV is changed +PV = "23+git${SRCPV}" SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git \ file://depmod-search.conf \ - file://0001-man-disable-man-page-generation-because-we-don-t-hav.patch \ - file://run-ptest \ - file://ptest.patch \ + file://avoid_parallel_tests.patch \ + file://fix-O_CLOEXEC.patch \ + file://kcmdline_quotes.patch \ " -SRCREV = "62081c0f68905b22f375156d4532fd37fa5c8d33" - S = "${WORKDIR}/git" EXTRA_AUTORECONF += "--install --symlink" -EXTRA_OECONF +="--enable-debug --enable-logging --enable-tools" +EXTRA_OECONF +=" --enable-tools --with-zlib" + +CACHED_CONFIGUREVARS += "ac_cv_path_DOLT_BASH='/usr/bin/env bash'" + +PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" +PACKAGECONFIG[logging] = " --enable-logging,--disable-logging" +PACKAGECONFIG[manpages] = "--enable-manpages, --disable-manpages, libxslt-native xmlto-native" do_configure_prepend () { - gtkdocize --docdir ${S}/libkmod/docs || touch ${S}/libkmod/docs/gtk-doc.make + gtkdocize --docdir ${S}/libkmod/docs --srcdir ${S} +} + +do_configure_append () { + sed -i 's#}libtool#}${TARGET_SYS}-libtool#' ${B}/doltlibtool } |
