Hi, although the grpc project did accept one of my patches to fix the Makefile cross-compilation upstream, the Makefile build was still a huge mess.
Here I am sending a modified version of my RFC from a few months ago, this time as PATCH. Changes: - Now using cmake build system (no more ugly hacks to cross-compile) - Imported one patch from buildroot and one from upstream - Added pkg-config files, which are missing in the grpc cmake build - Added necessary dependencies to host-c-ares (new) / c-ares / etc. Best regards, Clemens Clemens Gruber (3): host-c-ares: new package grpc: new package grpc: add pkg-config files ...llow-passing-a-pre-existing-grpc_cpp.patch | 48 ++ .../0002-Add-pkg-config-files.patch | 47 ++ ...ive-c-ares-queries-after-10-seconds-.patch | 462 ++++++++++++++++++ patches/grpc-1.17.0/series | 7 + rules/grpc.in | 20 + rules/grpc.make | 92 ++++ rules/host-c-ares.in | 5 + rules/host-c-ares.make | 40 ++ rules/host-grpc.in | 10 + rules/host-grpc.make | 37 ++ 10 files changed, 768 insertions(+) create mode 100644 patches/grpc-1.17.0/0001-CMakeLists.txt-allow-passing-a-pre-existing-grpc_cpp.patch create mode 100644 patches/grpc-1.17.0/0002-Add-pkg-config-files.patch create mode 100644 patches/grpc-1.17.0/0100-Cancel-still-active-c-ares-queries-after-10-seconds-.patch create mode 100644 patches/grpc-1.17.0/series create mode 100644 rules/grpc.in create mode 100644 rules/grpc.make create mode 100644 rules/host-c-ares.in create mode 100644 rules/host-c-ares.make create mode 100644 rules/host-grpc.in create mode 100644 rules/host-grpc.make -- 2.19.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de