summaryrefslogtreecommitdiffstats
path: root/external/meta-iot-cloud/recipes-azure/umock-c/umock-c.inc
diff options
context:
space:
mode:
Diffstat (limited to 'external/meta-iot-cloud/recipes-azure/umock-c/umock-c.inc')
-rw-r--r--external/meta-iot-cloud/recipes-azure/umock-c/umock-c.inc22
1 files changed, 22 insertions, 0 deletions
diff --git a/external/meta-iot-cloud/recipes-azure/umock-c/umock-c.inc b/external/meta-iot-cloud/recipes-azure/umock-c/umock-c.inc
new file mode 100644
index 00000000..9d1bf079
--- /dev/null
+++ b/external/meta-iot-cloud/recipes-azure/umock-c/umock-c.inc
@@ -0,0 +1,22 @@
+inherit cmake
+
+DEPENDS = "\
+ azure-macro-utils-c \
+"
+
+S = "${WORKDIR}/git"
+B = "${WORKDIR}/build"
+
+EXTRA_OECMAKE = "\
+ -Duse_installed_dependencies: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"