From 5145ab10812c1187b06e8dfb510f323d6958f8b0 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Mon, 30 Jul 2018 10:59:30 -0700 Subject: Add cjson recipe CJson is a support library implementing json support for C libraries. It is relatively small, and compliant enough for secure systems usage. More information can be found in the CJson homepage here: https://github.com/DaveGamble/cJSON Tested by: "bitbake cjson" and saw no build failures. (From meta-phosphor rev: 908d4f44184e34e0d13e6017221122ab5915a310) Change-Id: I8b9fcbc5ce0ffe556da8bfa6b1d84c527160a65e Signed-off-by: Ed Tanous Signed-off-by: Brad Bishop --- meta-phosphor/common/recipes-support/cjson/cjson_git.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-phosphor/common/recipes-support/cjson/cjson_git.bb (limited to 'meta-phosphor/common/recipes-support') diff --git a/meta-phosphor/common/recipes-support/cjson/cjson_git.bb b/meta-phosphor/common/recipes-support/cjson/cjson_git.bb new file mode 100644 index 000000000..096e3c988 --- /dev/null +++ b/meta-phosphor/common/recipes-support/cjson/cjson_git.bb @@ -0,0 +1,15 @@ +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=218947f77e8cb8e2fa02918dc41c50d0" + +SRC_URI = "git://github.com/DaveGamble/cJSON.git" + +PV = "1.7.6+git${SRCPV}" +SRCREV = "cbc05de76fbd4dfff17b5626d5cfe9ec922b1f4a" + +S = "${WORKDIR}/git" + +inherit cmake + +FILES_${PN}-dev += "${libdir}/cmake/cJSON/*" + +EXTRA_OECMAKE = "-DENABLE_CUSTOM_COMPILER_FLAGS=OFF -DENABLE_TARGET_EXPORT=OFF" -- cgit v1.2.3