mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 22:23:14 +00:00
grpc: Define libdir and cmakedir in terms of multilib
This helps in avoiding packaging errors seen with distros enabling multilib Fixes ERROR: grpc-1.24.3-r0 do_package: QA Issue: grpc: Files/directories were installed but not shipped in any package: /usr/lib/libgrpc++.so.1.24.3 ... /usr/lib/cmake /usr/lib/cmake/grpc /usr/lib/cmake/grpc/gRPCConfigVersion.cmake /usr/lib/cmake/grpc/gRPCConfig.cmake /usr/lib/cmake/grpc/gRPCTargets-noconfig.cmake /usr/lib/cmake/grpc/gRPCTargets.cmake Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or de lete them within do_install. Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
57bc531081
commit
e18d8c9570
@ -36,6 +36,8 @@ EXTRA_OECMAKE = " \
|
|||||||
-DgRPC_INSTALL=ON \
|
-DgRPC_INSTALL=ON \
|
||||||
-DCMAKE_CROSSCOMPILING=ON \
|
-DCMAKE_CROSSCOMPILING=ON \
|
||||||
-DBUILD_SHARED_LIBS=ON \
|
-DBUILD_SHARED_LIBS=ON \
|
||||||
|
-DgRPC_INSTALL_LIBDIR=${baselib} \
|
||||||
|
-DgRPC_INSTALL_CMAKEDIR=${baselib}/cmake/${BPN} \
|
||||||
"
|
"
|
||||||
|
|
||||||
do_configure_prepend_mipsarch() {
|
do_configure_prepend_mipsarch() {
|
||||||
@ -48,6 +50,6 @@ do_configure_prepend_toolchain-clang_x86() {
|
|||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|
||||||
SYSROOT_DIRS_BLACKLIST_append_class-target = "${libdir}/cmake/grpc"
|
SYSROOT_DIRS_BLACKLIST_append_class-target = "${baselib}/cmake/grpc"
|
||||||
|
|
||||||
FILES_${PN}-dev += "${bindir}"
|
FILES_${PN}-dev += "${bindir}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user