mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-02 18:13:49 +00:00
While inheriting module-base, PACKAGE_ARCH = ${MACHINE_ARCH},
it caused building lib32-libblockdev do_configure failure:
[snip]
checking for libndctl >= 58.4... no
No package 'libndctl' found
[snip]
The lib32-ndctl with MACHINE_ARCH deployed to /usr/lib64/pkgconfig/
libndctl.pc rather than expected /usr/lib/pkgconfig/libndctl.pc
Inherit module-base is helpless, remove it.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
30 lines
1.1 KiB
BlitzBasic
30 lines
1.1 KiB
BlitzBasic
SUMMARY = "libnvdimm utility library"
|
|
DESCRIPTION = "Utility library for managing the libnvdimm \
|
|
(non-volatile memory device) sub-system in the Linux kernel. \
|
|
The LIBNVDIMM subsystem provides support for three types of \
|
|
NVDIMMs, namely,PMEM, BLK, and NVDIMM devices that can \
|
|
simultaneously support both PMEM and BLK mode access."
|
|
HOMEPAGE = "https://git.kernel.org/cgit/linux/kernel/git/nvdimm/nvdimm.git/tree/Documentation/nvdimm/nvdimm.txt?h=libnvdimm-for-next"
|
|
LICENSE = "GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=e66651809cac5da60c8b80e9e4e79e08"
|
|
|
|
inherit autotools-brokensep pkgconfig bash-completion systemd
|
|
|
|
SRCREV = "cb2d678dd6d286dd96d31548c32449a8b883ae32"
|
|
SRC_URI = "git://github.com/pmem/ndctl.git"
|
|
|
|
DEPENDS = "virtual/kernel kmod udev json-c"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
EXTRA_OECONF += "--enable-test --enable-destructive --disable-docs"
|
|
|
|
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
|
|
PACKAGECONFIG[systemd] = "--with-systemd, --without-systemd, systemd"
|
|
|
|
do_configure_prepend() {
|
|
${S}/autogen.sh
|
|
}
|
|
|
|
SYSTEMD_SERVICE_${PN} = "ndctl-monitor.service"
|