Files
meta-openembedded/meta-oe/recipes-extended/libbacktrace/libbacktrace_git.bb
T
Pablo Saavedra 8ded470b21 libbacktrace: fix sdk installation
Building an SDK with this included fails:

* calculate_dependencies_for: Cannot satisfy the following
  dependencies for libbacktrace-dev
* opkg_solver_install: Cannot install package libbacktrace-dev

libbacktrace only provides a static library, so there no ${PN}
package is created by default.

Remove RDEPENDS in the libbacktrace-dev package to avoid this
conflict.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-19 09:51:06 -08:00

30 lines
809 B
BlitzBasic

# Copyright (C) 2021 Khem Raj <raj.khem@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)
SUMMARY = "A C library that may be linked into a C/C++ program to produce symbolic backtraces"
HOMEPAGE = "https://github.com/ianlancetaylor/libbacktrace"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=24b5b3feec63c4be0975e1fea5100440"
DEPENDS += "libunwind"
SRC_URI = "git://github.com/ianlancetaylor/libbacktrace;protocol=https;branch=master"
PV = "1.0+git${SRCPV}"
SRCREV = "9ae4f4ae4481b1e69d38ed810980d33103544613"
S = "${WORKDIR}/git"
inherit autotools
EXTRA_OECONF += "--with-system-libunwind --enable-shared --disable-static"
do_configure() {
oe_runconf
}
RDEPENDS:${PN}-dev = ""
# libunwind does not support RISCV32 yet
COMPATIBLE_HOST:riscv32 = "null"