SHARE
TWEET

Untitled

a guest Jul 24th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Recipe created by recipetool
  2. # This is the basis of a recipe and may need further editing in order to be fully functional.
  3. # (Feel free to remove these comments when editing.)
  4.  
  5. # WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
  6. # your responsibility to verify that the values are complete and correct.
  7. LICENSE = "MIT"
  8. LIC_FILES_CHKSUM = "file://LICENSE;md5=79bfc140d04e521d1032e65eef60cfa8"
  9.  
  10. SRC_URI = "***"
  11.  
  12. # Modify these as desired
  13. PV = "1.1+git${SRCPV}"
  14. SRCREV = "***"
  15.  
  16. S = "${WORKDIR}/git"
  17.  
  18. # This depends on gRPC and protobuf (gRPC depends on protobuf)
  19. RDEPENDS_${PN} += " grpc protobuf nativesdk-protobuf"
  20.  
  21. #protobuf-native makes the protoc (protobuf compiler) at build time accessible (host version)
  22. #Need to check if this works, since it will convert proto-files to cpp/hpp files
  23. DEPENDS_${PN} += " protobuf protobuf-native grpc"
  24.  
  25. # NOTE: unable to map the following CMake package dependencies: Protobuf GRPC
  26. inherit cmake
  27.  
  28. # Specify any options you want to pass to cmake using EXTRA_OECMAKE:
  29. # Pass the path of sysroot to the cmake compiler script. Required to find headers of protobuf/protoc
  30. EXTRA_OECMAKE = "-DOE_SYSROOT:STRING=${STAGING_DIR_HOST}"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top