[Buildroot] [PATCH] SDL2 depends on MMU (fork)

Baruch Siach baruch at tkos.co.il
Fri Jan 6 06:05:07 UTC 2017


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 at 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 -



More information about the buildroot mailing list