summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-04-22 22:22:48 -0700
committerKhem Raj <raj.khem@gmail.com>2020-04-25 08:32:41 -0700
commita0744673f073ef426df44079375c69b2928b5bf4 (patch)
tree67ebda5e309ca29907c0e351a3e0c492553b632e /meta-oe/recipes-support
parenta29c0d794ac2a4124d8abb40c40e679f36f458e2 (diff)
downloadmeta-openembedded-a0744673f073ef426df44079375c69b2928b5bf4.tar.gz
recipes,packagegroups: Remove libunwind deps for riscv
since libunwind is not buildable, it results in glog not being buildable and that results in ceres-solver and gperftools opencv needs glob to eenable libeigen Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/glog/glog_0.3.5.bb9
-rw-r--r--meta-oe/recipes-support/gperftools/gperftools_2.7.90.bb3
2 files changed, 8 insertions, 4 deletions
diff --git a/meta-oe/recipes-support/glog/glog_0.3.5.bb b/meta-oe/recipes-support/glog/glog_0.3.5.bb
index 70eef72057..9a8332836b 100644
--- a/meta-oe/recipes-support/glog/glog_0.3.5.bb
+++ b/meta-oe/recipes-support/glog/glog_0.3.5.bb
@@ -6,8 +6,6 @@ HOMEPAGE = "https://github.com/google/glog"
6LICENSE = "BSD-3-Clause" 6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b" 7LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b"
8 8
9DEPENDS = "libunwind"
10
11SRC_URI = " \ 9SRC_URI = " \
12 git://github.com/google/glog.git;nobranch=1 \ 10 git://github.com/google/glog.git;nobranch=1 \
13 file://0001-Rework-CMake-glog-VERSION-management.patch \ 11 file://0001-Rework-CMake-glog-VERSION-management.patch \
@@ -21,6 +19,9 @@ S = "${WORKDIR}/git"
21 19
22inherit cmake 20inherit cmake
23 21
24RDEPENDS_${PN} += "libunwind" 22PACKAGECONFIG ?= "shared unwind"
23PACKAGECONFIG_remove_riscv64 = "unwind"
24PACKAGECONFIG_remove_riscv32 = "unwind"
25 25
26EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON" 26PACKAGECONFIG[unwind] = "-DWITH_UNWIND=ON,-DWITH_UNWIND=OFF,libunwind,libunwind"
27PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF,,"
diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.7.90.bb b/meta-oe/recipes-support/gperftools/gperftools_2.7.90.bb
index 9dfb0d974f..e15133c1b9 100644
--- a/meta-oe/recipes-support/gperftools/gperftools_2.7.90.bb
+++ b/meta-oe/recipes-support/gperftools/gperftools_2.7.90.bb
@@ -20,6 +20,7 @@ S = "${WORKDIR}/git"
20# do_page_fault(): sending SIGSEGV to ls for invalid read access from 00000008 20# do_page_fault(): sending SIGSEGV to ls for invalid read access from 00000008
21# Segmentation fault (core dumped) 21# Segmentation fault (core dumped)
22COMPATIBLE_HOST_mipsarch = "null" 22COMPATIBLE_HOST_mipsarch = "null"
23
23# Disable thumb1 24# Disable thumb1
24# {standard input}: Assembler messages: 25# {standard input}: Assembler messages:
25# {standard input}:434: Error: lo register required -- `ldr pc,[sp]' 26# {standard input}:434: Error: lo register required -- `ldr pc,[sp]'
@@ -29,6 +30,8 @@ ARM_INSTRUCTION_SET_toolchain-clang_arm = "arm"
29 30
30PACKAGECONFIG ?= "libunwind static" 31PACKAGECONFIG ?= "libunwind static"
31PACKAGECONFIG_remove_arm_libc-musl = "libunwind" 32PACKAGECONFIG_remove_arm_libc-musl = "libunwind"
33PACKAGECONFIG_remove_riscv64 = "libunwind"
34PACKAGECONFIG_remove_riscv32 = "libunwind"
32 35
33PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind" 36PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind"
34PACKAGECONFIG[static] = "--enable-static,--disable-static," 37PACKAGECONFIG[static] = "--enable-static,--disable-static,"