From: Fabrice Fontaine Date: Sat, 25 Jul 2020 09:29:04 +0000 (+0200) Subject: package/mraa: add json-c support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1095323b42102906921c42b1bf324a057e3e017d;p=buildroot.git package/mraa: add json-c support Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- 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))