Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Recipe created by recipetool
- # This is the basis of a recipe and may need further editing in order to be fully functional.
- # (Feel free to remove these comments when editing.)
- # WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
- # your responsibility to verify that the values are complete and correct.
- LICENSE = "MIT"
- LIC_FILES_CHKSUM = "file://LICENSE;md5=79bfc140d04e521d1032e65eef60cfa8"
- SRC_URI = "***"
- # Modify these as desired
- PV = "1.1+git${SRCPV}"
- SRCREV = "***"
- S = "${WORKDIR}/git"
- # This depends on gRPC and protobuf (gRPC depends on protobuf)
- RDEPENDS_${PN} += " grpc protobuf nativesdk-protobuf"
- #protobuf-native makes the protoc (protobuf compiler) at build time accessible (host version)
- #Need to check if this works, since it will convert proto-files to cpp/hpp files
- DEPENDS_${PN} += " protobuf protobuf-native grpc"
- # NOTE: unable to map the following CMake package dependencies: Protobuf GRPC
- inherit cmake
- # Specify any options you want to pass to cmake using EXTRA_OECMAKE:
- # Pass the path of sysroot to the cmake compiler script. Required to find headers of protobuf/protoc
- EXTRA_OECMAKE = "-DOE_SYSROOT:STRING=${STAGING_DIR_HOST}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement