All of 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

* [Buildroot] [PATCH 1/1] package/mraa: add json-c support
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2020-07-25 11:02 UTC (permalink / raw)
  To: buildroot

Fabrice, All,

On 2020-07-25 11:29 +0200, Fabrice Fontaine spake thusly:
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
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.27.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.