diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-04-22 22:22:48 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-04-25 08:32:41 -0700 |
commit | a0744673f073ef426df44079375c69b2928b5bf4 (patch) | |
tree | 67ebda5e309ca29907c0e351a3e0c492553b632e /meta-oe/recipes-support/glog | |
parent | a29c0d794ac2a4124d8abb40c40e679f36f458e2 (diff) | |
download | meta-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/glog')
-rw-r--r-- | meta-oe/recipes-support/glog/glog_0.3.5.bb | 9 |
1 files changed, 5 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" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b" -DEPENDS = "libunwind" - SRC_URI = " \ git://github.com/google/glog.git;nobranch=1 \ file://0001-Rework-CMake-glog-VERSION-management.patch \ @@ -21,6 +19,9 @@ S = "${WORKDIR}/git" inherit cmake -RDEPENDS_${PN} += "libunwind" +PACKAGECONFIG ?= "shared unwind" +PACKAGECONFIG_remove_riscv64 = "unwind" +PACKAGECONFIG_remove_riscv32 = "unwind" -EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON" +PACKAGECONFIG[unwind] = "-DWITH_UNWIND=ON,-DWITH_UNWIND=OFF,libunwind,libunwind" +PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF,," |