Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/mraa: add json-c support
@ 2020-07-25  9:29 Fabrice Fontaine
  2020-07-25 11:02 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2020-07-25  9:29 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 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.27.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-25 11:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-25  9:29 [Buildroot] [PATCH 1/1] package/mraa: add json-c support Fabrice Fontaine
2020-07-25 11:02 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox