All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] SDL2 depends on MMU (fork)
@ 2017-01-05  9:45 Guillaume GARDET
  2017-01-05 11:42 ` Baruch Siach
  0 siblings, 1 reply; 4+ messages in thread
From: Guillaume GARDET @ 2017-01-05  9:45 UTC (permalink / raw)
  To: buildroot

Fixes autobuilder failure http://autobuild.buildroot.net/results/2f7/2f738830bf98eb7284f99c11856a8694467b3daa

Signed-off-by: Guillaume GARDET <guillaume.gardet@oliseo.fr>
---
 package/sdl2/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/sdl2/Config.in b/package/sdl2/Config.in
index b73611d..30d5c1a 100644
--- a/package/sdl2/Config.in
+++ b/package/sdl2/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_SDL2
 	bool "sdl2"
 	depends on !BR2_STATIC_LIBS
+	depends on BR2_USE_MMU # fork()
 	help
 	  Simple DirectMedia Layer 2 - SDL2 is a library that allows
 	  programs portable low level access to a video framebuffer,
-- 
1.8.4.5

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

* [Buildroot] [PATCH] SDL2 depends on MMU (fork)
  2017-01-05  9:45 [Buildroot] [PATCH] SDL2 depends on MMU (fork) Guillaume GARDET
@ 2017-01-05 11:42 ` Baruch Siach
  2017-01-05 22:29   ` Romain Naour
  0 siblings, 1 reply; 4+ messages in thread
From: Baruch Siach @ 2017-01-05 11:42 UTC (permalink / raw)
  To: buildroot

Hi Guillaume,

On Thu, Jan 05, 2017 at 10:45:18AM +0100, Guillaume GARDET wrote:
> Fixes autobuilder failure http://autobuild.buildroot.net/results/2f7/2f738830bf98eb7284f99c11856a8694467b3daa
> 
> Signed-off-by: Guillaume GARDET <guillaume.gardet@oliseo.fr>
> ---
>  package/sdl2/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/sdl2/Config.in b/package/sdl2/Config.in
> index b73611d..30d5c1a 100644
> --- a/package/sdl2/Config.in
> +++ b/package/sdl2/Config.in
> @@ -1,6 +1,7 @@
>  config BR2_PACKAGE_SDL2
>  	bool "sdl2"
>  	depends on !BR2_STATIC_LIBS
> +	depends on BR2_USE_MMU # fork()

You need to propagate this dependency to config symbols that select 
BR2_PACKAGE_SDL2, BR2_PACKAGE_FFMPEG_FFPLAY and BR2_PACKAGE_STELLA. See 
section 17.2.3 in the manual[1] for an explanation.

[1] http://nightly.buildroot.org/manual.html#_config_files

>  	help
>  	  Simple DirectMedia Layer 2 - SDL2 is a library that allows
>  	  programs portable low level access to a video framebuffer,

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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

* [Buildroot] [PATCH] SDL2 depends on MMU (fork)
  2017-01-05 11:42 ` Baruch Siach
@ 2017-01-05 22:29   ` Romain Naour
  2017-01-06  6:05     ` Baruch Siach
  0 siblings, 1 reply; 4+ messages in thread
From: Romain Naour @ 2017-01-05 22:29 UTC (permalink / raw)
  To: buildroot

Hi Guillaume,

Le 05/01/2017 ? 12:42, Baruch Siach a ?crit :
> Hi Guillaume,
> 
> On Thu, Jan 05, 2017 at 10:45:18AM +0100, Guillaume GARDET wrote:
>> Fixes autobuilder failure http://autobuild.buildroot.net/results/2f7/2f738830bf98eb7284f99c11856a8694467b3daa
>>
>> Signed-off-by: Guillaume GARDET <guillaume.gardet@oliseo.fr>
>> ---
>>  package/sdl2/Config.in | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/package/sdl2/Config.in b/package/sdl2/Config.in
>> index b73611d..30d5c1a 100644
>> --- a/package/sdl2/Config.in
>> +++ b/package/sdl2/Config.in
>> @@ -1,6 +1,7 @@
>>  config BR2_PACKAGE_SDL2
>>  	bool "sdl2"
>>  	depends on !BR2_STATIC_LIBS
>> +	depends on BR2_USE_MMU # fork()

It's actually BR2_PACKAGE_SDL2_X11 option that use fork().
If you disable it, SDL2 package build fine with this configuration.

Best regards,
Romain

> 
> You need to propagate this dependency to config symbols that select 
> BR2_PACKAGE_SDL2, BR2_PACKAGE_FFMPEG_FFPLAY and BR2_PACKAGE_STELLA. See 
> section 17.2.3 in the manual[1] for an explanation.
> 
> [1] http://nightly.buildroot.org/manual.html#_config_files
> 
>>  	help
>>  	  Simple DirectMedia Layer 2 - SDL2 is a library that allows
>>  	  programs portable low level access to a video framebuffer,
> 
> baruch
> 

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

* [Buildroot] [PATCH] SDL2 depends on MMU (fork)
  2017-01-05 22:29   ` Romain Naour
@ 2017-01-06  6:05     ` Baruch Siach
  0 siblings, 0 replies; 4+ messages in thread
From: Baruch Siach @ 2017-01-06  6:05 UTC (permalink / raw)
  To: buildroot

Hi Romain,

On Thu, Jan 05, 2017 at 11:29:44PM +0100, Romain Naour wrote:
> Le 05/01/2017 ? 12:42, Baruch Siach a ?crit :
> > On Thu, Jan 05, 2017 at 10:45:18AM +0100, Guillaume GARDET wrote:
> >> Fixes autobuilder failure http://autobuild.buildroot.net/results/2f7/2f738830bf98eb7284f99c11856a8694467b3daa
> >>
> >> Signed-off-by: Guillaume GARDET <guillaume.gardet@oliseo.fr>
> >> ---
> >>  package/sdl2/Config.in | 1 +
> >>  1 file changed, 1 insertion(+)
> >>
> >> diff --git a/package/sdl2/Config.in b/package/sdl2/Config.in
> >> index b73611d..30d5c1a 100644
> >> --- a/package/sdl2/Config.in
> >> +++ b/package/sdl2/Config.in
> >> @@ -1,6 +1,7 @@
> >>  config BR2_PACKAGE_SDL2
> >>  	bool "sdl2"
> >>  	depends on !BR2_STATIC_LIBS
> >> +	depends on BR2_USE_MMU # fork()
> 
> It's actually BR2_PACKAGE_SDL2_X11 option that use fork().
> If you disable it, SDL2 package build fine with this configuration.

In this case there is no need to propagate the dependency, since no symbol 
selects BR2_PACKAGE_SDL2_X11.

Thanks,
baruch

> > You need to propagate this dependency to config symbols that select 
> > BR2_PACKAGE_SDL2, BR2_PACKAGE_FFMPEG_FFPLAY and BR2_PACKAGE_STELLA. See 
> > section 17.2.3 in the manual[1] for an explanation.
> > 
> > [1] http://nightly.buildroot.org/manual.html#_config_files
> > 
> >>  	help
> >>  	  Simple DirectMedia Layer 2 - SDL2 is a library that allows
> >>  	  programs portable low level access to a video framebuffer,

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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

end of thread, other threads:[~2017-01-06  6:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-05  9:45 [Buildroot] [PATCH] SDL2 depends on MMU (fork) Guillaume GARDET
2017-01-05 11:42 ` Baruch Siach
2017-01-05 22:29   ` Romain Naour
2017-01-06  6:05     ` Baruch Siach

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.