From 1095323b42102906921c42b1bf324a057e3e017d Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 25 Jul 2020 11:29:04 +0200 Subject: [PATCH] package/mraa: add json-c support Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/mraa/mraa.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/mraa/mraa.mk b/package/mraa/mraa.mk index 9397f12cfd..89c539e793 100644 --- a/package/mraa/mraa.mk +++ b/package/mraa/mraa.mk @@ -30,8 +30,14 @@ MRAA_CONF_OPTS += \ -DBUILDSWIG=OFF \ -DUSBPLAT=OFF \ -DFTDI4222=OFF \ - -DJSONPLAT=OFF \ -DENABLEEXAMPLES=OFF \ -DBUILDTESTS=OFF +ifeq ($(BR2_PACKAGE_JSON_C),y) +MRAA_CONF_OPTS += -DJSONPLAT=ON +MRAA_DEPENDENCIES += json-c +else +MRAA_CONF_OPTS += -DJSONPLAT=OFF +endif + $(eval $(cmake-package)) -- 2.30.2