diff options
| author | Ting Liu <ting.liu@nxp.com> | 2020-04-26 10:55:27 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-04-26 23:10:57 -0700 |
| commit | 13174e92a9c5e5ecc0b3e991721a4ed292f6578a (patch) | |
| tree | 1407b35cfeadaeba2f69408a1314c543f6fccd0b | |
| parent | b0345e3fe439ebfeea84edaf26c19b056d557400 (diff) | |
| download | meta-openembedded-13174e92a9c5e5ecc0b3e991721a4ed292f6578a.tar.gz | |
cjson: add recipe for v1.7.13
cJSON aims to be the dumbest possible parser that you can get your
job done with. It's a single file of C, and a single header file.
Homepage: https://github.com/DaveGamble/cJSON
Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-devtools/cjson/cjson_1.7.13.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/cjson/cjson_1.7.13.bb b/meta-oe/recipes-devtools/cjson/cjson_1.7.13.bb new file mode 100644 index 0000000000..e6174821ff --- /dev/null +++ b/meta-oe/recipes-devtools/cjson/cjson_1.7.13.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | DESCRIPTION = "Ultralightweight JSON parser in ANSI C" | ||
| 2 | AUTHOR = "Dave Gamble" | ||
| 3 | HOMEPAGE = "https://github.com/DaveGamble/cJSON" | ||
| 4 | SECTION = "libs" | ||
| 5 | LICENSE = "MIT" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=218947f77e8cb8e2fa02918dc41c50d0" | ||
| 7 | |||
| 8 | SRC_URI = "git://github.com/DaveGamble/cJSON.git" | ||
| 9 | SRCREV = "39853e5148dad8dc5d32ea2b00943cf4a0c6f120" | ||
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | inherit cmake pkgconfig | ||
| 14 | |||
| 15 | EXTRA_OECMAKE += "\ | ||
| 16 | -DENABLE_CJSON_UTILS=On \ | ||
| 17 | -DENABLE_CUSTOM_COMPILER_FLAGS=OFF \ | ||
| 18 | -DBUILD_SHARED_AND_STATIC_LIBS=On \ | ||
| 19 | " | ||
| 20 | |||
| 21 | BBCLASSEXTEND = "native nativesdk" | ||
