diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2020-03-04 09:41:25 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-03-04 19:31:09 -0800 |
commit | 4fe9c9c29e0913d184a520f69e979708106328d9 (patch) | |
tree | d6701bdf4bfdb8c6163951a13d8d23d87371f709 | |
parent | 583c71b23bafc1cdac254c42662ce7f56963798e (diff) | |
download | meta-clang-4fe9c9c29e0913d184a520f69e979708106328d9.tar.gz |
bcc: inherit manpages class to control documentation
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
-rw-r--r-- | recipes-devtools/bcc/bcc_0.13.0.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/recipes-devtools/bcc/bcc_0.13.0.bb b/recipes-devtools/bcc/bcc_0.13.0.bb index ce9f718..3a7d7f4 100644 --- a/recipes-devtools/bcc/bcc_0.13.0.bb +++ b/recipes-devtools/bcc/bcc_0.13.0.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/iovisor/bcc" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e" |
5 | 5 | ||
6 | inherit cmake python3native | 6 | inherit cmake python3native manpages |
7 | 7 | ||
8 | DEPENDS += "bison-native \ | 8 | DEPENDS += "bison-native \ |
9 | flex-native \ | 9 | flex-native \ |
@@ -22,11 +22,13 @@ SRCREV = "942227484d3207f6a42103674001ef01fb5335a0" | |||
22 | 22 | ||
23 | S = "${WORKDIR}/git" | 23 | S = "${WORKDIR}/git" |
24 | 24 | ||
25 | PACKAGECONFIG ??= "" | ||
26 | PACKAGECONFIG[manpages] = "-DENABLE_MAN=ON,-DENABLE_MAN=OFF," | ||
27 | |||
25 | EXTRA_OECMAKE = " \ | 28 | EXTRA_OECMAKE = " \ |
26 | -DCMAKE_INSTALL_PREFIX=/usr \ | 29 | -DCMAKE_INSTALL_PREFIX=/usr \ |
27 | -DENABLE_LLVM_SHARED=ON \ | 30 | -DENABLE_LLVM_SHARED=ON \ |
28 | -DENABLE_CLANG_JIT=ON \ | 31 | -DENABLE_CLANG_JIT=ON \ |
29 | -DENABLE_MAN=OFF \ | ||
30 | -DLLVM_PACKAGE_VERSION=${LLVMVERSION} \ | 32 | -DLLVM_PACKAGE_VERSION=${LLVMVERSION} \ |
31 | -DPYTHON_CMD=${PYTHON} \ | 33 | -DPYTHON_CMD=${PYTHON} \ |
32 | " | 34 | " |
@@ -37,5 +39,6 @@ do_install_append() { | |||
37 | } | 39 | } |
38 | 40 | ||
39 | FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}" | 41 | FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}" |
42 | FILES_${PN}-doc += "${datadir}/${PN}/man" | ||
40 | 43 | ||
41 | COMPATIBLE_HOST = "(x86_64.*|aarch64.*|powerpc64.*)-linux" | 44 | COMPATIBLE_HOST = "(x86_64.*|aarch64.*|powerpc64.*)-linux" |