package/mraa: add json-c support
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
4c9c02471a
commit
1095323b42
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user