diff options
Diffstat (limited to 'external/meta-iot-cloud/recipes-azure/azure-uhttp-c/azure-uhttp-c.inc')
-rw-r--r-- | external/meta-iot-cloud/recipes-azure/azure-uhttp-c/azure-uhttp-c.inc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/external/meta-iot-cloud/recipes-azure/azure-uhttp-c/azure-uhttp-c.inc b/external/meta-iot-cloud/recipes-azure/azure-uhttp-c/azure-uhttp-c.inc new file mode 100644 index 00000000..a97e872b --- /dev/null +++ b/external/meta-iot-cloud/recipes-azure/azure-uhttp-c/azure-uhttp-c.inc @@ -0,0 +1,31 @@ +inherit cmake + +DEPENDS = "\ + azure-c-shared-utility \ + azure-macro-utils-c \ + openssl \ +" + +SRC_URI += "\ + file://Fix-packaging-issues.patch \ +" + +S = "${WORKDIR}/git" +B = "${WORKDIR}/build" + +EXTRA_OECMAKE += "\ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -Dskip_samples:BOOL=ON \ + -Duse_installed_dependencies:BOOL=ON \ + -Duse_openssl:BOOL=ON \ +" + +sysroot_stage_all_append () { + sysroot_stage_dir ${D}${exec_prefix}/cmake ${SYSROOT_DESTDIR}${exec_prefix}/cmake +} + +FILES_${PN}-dev += "\ + ${exec_prefix}/cmake \ +" + +BBCLASSEXTEND = "native nativesdk" |