projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c9c024
)
package/mraa: add json-c support
author
Fabrice Fontaine
<fontaine.fabrice@gmail.com>
Sat, 25 Jul 2020 09:29:04 +0000
(11:29 +0200)
committer
Yann E. MORIN
<yann.morin.1998@free.fr>
Sat, 25 Jul 2020 11:01:03 +0000
(13:01 +0200)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/mraa/mraa.mk
patch
|
blob
|
history
diff --git
a/package/mraa/mraa.mk
b/package/mraa/mraa.mk
index 9397f12cfdd3d01d5f53941920af67ceeae14d1e..89c539e793a32566049d097ff08a95b48468c92f 100644
(file)
--- 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))