summaryrefslogtreecommitdiffstats
path: root/external/meta-iot-cloud/recipes-support/cjson/cjson_1.7.10.bb
diff options
context:
space:
mode:
authortakeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp>2020-11-02 11:07:33 +0900
committertakeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp>2020-11-02 11:07:33 +0900
commit1c7d6584a7811b7785ae5c1e378f14b5ba0971cf (patch)
treecd70a267a5ef105ba32f200aa088e281fbd85747 /external/meta-iot-cloud/recipes-support/cjson/cjson_1.7.10.bb
parent4204309872da5cb401cbb2729d9e2d4869a87f42 (diff)
recipes
Diffstat (limited to 'external/meta-iot-cloud/recipes-support/cjson/cjson_1.7.10.bb')
-rw-r--r--external/meta-iot-cloud/recipes-support/cjson/cjson_1.7.10.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/external/meta-iot-cloud/recipes-support/cjson/cjson_1.7.10.bb b/external/meta-iot-cloud/recipes-support/cjson/cjson_1.7.10.bb
new file mode 100644
index 00000000..fc2b673d
--- /dev/null
+++ b/external/meta-iot-cloud/recipes-support/cjson/cjson_1.7.10.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "Ultralightweight JSON parser in ANSI C"
+HOMEPAGE = "https://github.com/DaveGamble/cJSON"
+AUTHOR = "Dave Gamble"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=218947f77e8cb8e2fa02918dc41c50d0"
+
+inherit cmake pkgconfig
+
+PR = "r0"
+
+SRC_URI = "\
+ git://github.com/DaveGamble/cJSON.git \
+"
+
+SRCREV = "c69134d01746dcf551dd7724b4edb12f922eb0d1"
+
+S = "${WORKDIR}/git"
+
+FILES_${PN}-dev += "\
+ ${libdir}/cmake \
+"
+
+EXTRA_OECMAKE += "\
+ -DENABLE_CUSTOM_COMPILER_FLAGS=OFF \
+ -DBUILD_SHARED_AND_STATIC_LIBS=On \
+"