diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-07-29 17:04:53 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-08-03 10:21:25 -0700 |
| commit | c61dc077bbd81260e4f167fa2251643ba0ba6974 (patch) | |
| tree | 66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-oe/recipes-devtools/grpc | |
| parent | c5f7cfb8db54cfa4257797db5bd87828dea43296 (diff) | |
| download | meta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz | |
Convert to new override syntax
This is the result of automated script (0.9.1) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/grpc')
| -rw-r--r-- | meta-oe/recipes-devtools/grpc/grpc_1.38.1.bb | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/meta-oe/recipes-devtools/grpc/grpc_1.38.1.bb b/meta-oe/recipes-devtools/grpc/grpc_1.38.1.bb index 10004b2369..ac8aba382e 100644 --- a/meta-oe/recipes-devtools/grpc/grpc_1.38.1.bb +++ b/meta-oe/recipes-devtools/grpc/grpc_1.38.1.bb | |||
| @@ -7,13 +7,13 @@ LICENSE = "Apache-2" | |||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 8 | 8 | ||
| 9 | DEPENDS = "c-ares protobuf protobuf-native protobuf-c protobuf-c-native openssl libnsl2 abseil-cpp re2" | 9 | DEPENDS = "c-ares protobuf protobuf-native protobuf-c protobuf-c-native openssl libnsl2 abseil-cpp re2" |
| 10 | DEPENDS_append_class-target = " googletest grpc-native " | 10 | DEPENDS:append:class-target = " googletest grpc-native " |
| 11 | DEPENDS_append_class-nativesdk = " grpc-native " | 11 | DEPENDS:append:class-nativesdk = " grpc-native " |
| 12 | 12 | ||
| 13 | PACKAGE_BEFORE_PN = "${PN}-compiler" | 13 | PACKAGE_BEFORE_PN = "${PN}-compiler" |
| 14 | 14 | ||
| 15 | RDEPENDS_${PN}-compiler = "${PN}" | 15 | RDEPENDS:${PN}-compiler = "${PN}" |
| 16 | RDEPENDS_${PN}-dev += "${PN}-compiler" | 16 | RDEPENDS:${PN}-dev += "${PN}-compiler" |
| 17 | 17 | ||
| 18 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
| 19 | SRCREV_grpc = "96b73272eadc01afb5fb45b92b408c47e4387274" | 19 | SRCREV_grpc = "96b73272eadc01afb5fb45b92b408c47e4387274" |
| @@ -21,7 +21,7 @@ BRANCH = "v1.38.x" | |||
| 21 | SRC_URI = "git://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH} \ | 21 | SRC_URI = "git://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH} \ |
| 22 | " | 22 | " |
| 23 | # Fixes build with older compilers 4.8 especially on ubuntu 14.04 | 23 | # Fixes build with older compilers 4.8 especially on ubuntu 14.04 |
| 24 | CXXFLAGS_append_class-native = " -Wl,--no-as-needed" | 24 | CXXFLAGS:append:class-native = " -Wl,--no-as-needed" |
| 25 | 25 | ||
| 26 | inherit cmake pkgconfig | 26 | inherit cmake pkgconfig |
| 27 | 27 | ||
| @@ -49,32 +49,32 @@ PACKAGECONFIG[python] = "-DgRPC_BUILD_GRPC_PYTHON_PLUGIN=ON,-DgRPC_BUILD_GRPC_PY | |||
| 49 | PACKAGECONFIG[ruby] = "-DgRPC_BUILD_GRPC_RUBY_PLUGIN=ON,-DgRPC_BUILD_GRPC_RUBY_PLUGIN=OFF" | 49 | PACKAGECONFIG[ruby] = "-DgRPC_BUILD_GRPC_RUBY_PLUGIN=ON,-DgRPC_BUILD_GRPC_RUBY_PLUGIN=OFF" |
| 50 | PACKAGECONFIG[protobuf-lite] = "-DgRPC_USE_PROTO_LITE=ON,-DgRPC_USE_PROTO_LITE=OFF,protobuf-lite" | 50 | PACKAGECONFIG[protobuf-lite] = "-DgRPC_USE_PROTO_LITE=ON,-DgRPC_USE_PROTO_LITE=OFF,protobuf-lite" |
| 51 | 51 | ||
| 52 | do_configure_prepend() { | 52 | do_configure:prepend() { |
| 53 | sed -i -e "s#lib/pkgconfig/#${baselib}/pkgconfig/#g" ${S}/CMakeLists.txt | 53 | sed -i -e "s#lib/pkgconfig/#${baselib}/pkgconfig/#g" ${S}/CMakeLists.txt |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | do_configure_prepend_mipsarch() { | 56 | do_configure:prepend:mipsarch() { |
| 57 | 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 | 57 | 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 |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | do_configure_prepend_powerpc() { | 60 | do_configure:prepend:powerpc() { |
| 61 | 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 | 61 | 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 |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | do_configure_prepend_riscv64() { | 64 | do_configure:prepend:riscv64() { |
| 65 | 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 | 65 | 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 |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | do_configure_prepend_riscv32() { | 68 | do_configure:prepend:riscv32() { |
| 69 | 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 | 69 | 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 |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | do_configure_prepend_toolchain-clang_x86() { | 72 | do_configure:prepend:toolchain-clang:x86() { |
| 73 | 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 | 73 | 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 |
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | BBCLASSEXTEND = "native nativesdk" | 76 | BBCLASSEXTEND = "native nativesdk" |
| 77 | 77 | ||
| 78 | SYSROOT_DIRS_BLACKLIST_append_class-target = " ${baselib}/cmake/grpc" | 78 | SYSROOT_DIRS_BLACKLIST:append:class-target = " ${baselib}/cmake/grpc" |
| 79 | 79 | ||
| 80 | FILES_${PN}-compiler += "${bindir}" | 80 | FILES:${PN}-compiler += "${bindir}" |
