summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>2022-04-08 09:30:04 +0200
committerKhem Raj <raj.khem@gmail.com>2022-04-10 10:05:35 -0700
commitb04696ddf8da4aec9d8020ff6dc49b8430e4eb50 (patch)
tree06f302bccaba7e6eb551368b8b8df607e3706f9f
parent1a91a9cb27847fa4f436bb5810f3ec309d2b86ae (diff)
downloadmeta-openembedded-b04696ddf8da4aec9d8020ff6dc49b8430e4eb50.tar.gz
grpc: remove useless link with libatomic append
The sed commands to link with libatomic don't match and is therefore useless. If they are really needed the problem should be fixed in the code for example with CHECK_LIBRARY_EXISTS. Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/grpc/grpc_1.45.1.bb20
1 files changed, 0 insertions, 20 deletions
diff --git a/meta-oe/recipes-devtools/grpc/grpc_1.45.1.bb b/meta-oe/recipes-devtools/grpc/grpc_1.45.1.bb
index 292ea7f9b0..7275f451a7 100644
--- a/meta-oe/recipes-devtools/grpc/grpc_1.45.1.bb
+++ b/meta-oe/recipes-devtools/grpc/grpc_1.45.1.bb
@@ -59,26 +59,6 @@ do_configure:prepend() {
59 sed -i -e "s#lib/pkgconfig/#${baselib}/pkgconfig/#g" ${S}/CMakeLists.txt 59 sed -i -e "s#lib/pkgconfig/#${baselib}/pkgconfig/#g" ${S}/CMakeLists.txt
60} 60}
61 61
62do_configure:prepend:mipsarch() {
63 sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt
64}
65
66do_configure:prepend:powerpc() {
67 sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt
68}
69
70do_configure:prepend:riscv64() {
71 sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt
72}
73
74do_configure:prepend:riscv32() {
75 sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt
76}
77
78do_configure:prepend:toolchain-clang:x86() {
79 sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt
80}
81
82BBCLASSEXTEND = "native nativesdk" 62BBCLASSEXTEND = "native nativesdk"
83 63
84FILES:${PN}-compiler += " \ 64FILES:${PN}-compiler += " \