* [Buildroot] [PATCH] sdl2: explicitly disable raspberry pi video backend
@ 2017-10-25 16:03 Peter Korsgaard
2017-10-26 12:17 ` Peter Korsgaard
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Peter Korsgaard @ 2017-10-25 16:03 UTC (permalink / raw)
To: buildroot
Fixes:
http://autobuild.buildroot.net/results/d59/d5992dcc9a49ee77afaebdcc9448ac1868fa7de1/
http://autobuild.buildroot.net/results/e89/e894f21ce1983ee3bd8d65a8e59e1adab9a62707/
The configure script automatically enables support for the raspberry pi
video backend if it detects the rpi-userland package. Unfortunately it
hardcodes a number of include/linker paths unsuitable for cross compilation,
breaking the build:
if test x$enable_video = xyes -a x$enable_video_rpi = xyes; then
..
RPI_CFLAGS="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
RPI_LDFLAGS="-L/opt/vc/lib -lbcm_host"
fi
So explicitly disable it until the configure script is fixed.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/sdl2/sdl2.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/sdl2/sdl2.mk b/package/sdl2/sdl2.mk
index facb41e527..fa3b57e6cd 100644
--- a/package/sdl2/sdl2.mk
+++ b/package/sdl2/sdl2.mk
@@ -18,7 +18,8 @@ SDL2_CONF_OPTS += \
--disable-esd \
--disable-dbus \
--disable-pulseaudio \
- --disable-video-wayland
+ --disable-video-wayland \
+ --disable-video-rpi
# We must enable static build to get compilation successful.
SDL2_CONF_OPTS += --enable-static
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] sdl2: explicitly disable raspberry pi video backend
2017-10-25 16:03 [Buildroot] [PATCH] sdl2: explicitly disable raspberry pi video backend Peter Korsgaard
@ 2017-10-26 12:17 ` Peter Korsgaard
2017-10-28 17:15 ` Peter Korsgaard
2017-11-15 18:52 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2017-10-26 12:17 UTC (permalink / raw)
To: buildroot
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
> Fixes:
> http://autobuild.buildroot.net/results/d59/d5992dcc9a49ee77afaebdcc9448ac1868fa7de1/
> http://autobuild.buildroot.net/results/e89/e894f21ce1983ee3bd8d65a8e59e1adab9a62707/
> The configure script automatically enables support for the raspberry pi
> video backend if it detects the rpi-userland package. Unfortunately it
> hardcodes a number of include/linker paths unsuitable for cross compilation,
> breaking the build:
> if test x$enable_video = xyes -a x$enable_video_rpi = xyes; then
> ..
> RPI_CFLAGS="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
> RPI_LDFLAGS="-L/opt/vc/lib -lbcm_host"
> fi
> So explicitly disable it until the configure script is fixed.
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] sdl2: explicitly disable raspberry pi video backend
2017-10-25 16:03 [Buildroot] [PATCH] sdl2: explicitly disable raspberry pi video backend Peter Korsgaard
2017-10-26 12:17 ` Peter Korsgaard
@ 2017-10-28 17:15 ` Peter Korsgaard
2017-11-15 18:52 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2017-10-28 17:15 UTC (permalink / raw)
To: buildroot
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
> Fixes:
> http://autobuild.buildroot.net/results/d59/d5992dcc9a49ee77afaebdcc9448ac1868fa7de1/
> http://autobuild.buildroot.net/results/e89/e894f21ce1983ee3bd8d65a8e59e1adab9a62707/
> The configure script automatically enables support for the raspberry pi
> video backend if it detects the rpi-userland package. Unfortunately it
> hardcodes a number of include/linker paths unsuitable for cross compilation,
> breaking the build:
> if test x$enable_video = xyes -a x$enable_video_rpi = xyes; then
> ..
> RPI_CFLAGS="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
> RPI_LDFLAGS="-L/opt/vc/lib -lbcm_host"
> fi
> So explicitly disable it until the configure script is fixed.
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Committed to 2017.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] sdl2: explicitly disable raspberry pi video backend
2017-10-25 16:03 [Buildroot] [PATCH] sdl2: explicitly disable raspberry pi video backend Peter Korsgaard
2017-10-26 12:17 ` Peter Korsgaard
2017-10-28 17:15 ` Peter Korsgaard
@ 2017-11-15 18:52 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2017-11-15 18:52 UTC (permalink / raw)
To: buildroot
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
> Fixes:
> http://autobuild.buildroot.net/results/d59/d5992dcc9a49ee77afaebdcc9448ac1868fa7de1/
> http://autobuild.buildroot.net/results/e89/e894f21ce1983ee3bd8d65a8e59e1adab9a62707/
> The configure script automatically enables support for the raspberry pi
> video backend if it detects the rpi-userland package. Unfortunately it
> hardcodes a number of include/linker paths unsuitable for cross compilation,
> breaking the build:
> if test x$enable_video = xyes -a x$enable_video_rpi = xyes; then
> ..
> RPI_CFLAGS="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
> RPI_LDFLAGS="-L/opt/vc/lib -lbcm_host"
> fi
> So explicitly disable it until the configure script is fixed.
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Committed to 2017.08.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-11-15 18:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-25 16:03 [Buildroot] [PATCH] sdl2: explicitly disable raspberry pi video backend Peter Korsgaard
2017-10-26 12:17 ` Peter Korsgaard
2017-10-28 17:15 ` Peter Korsgaard
2017-11-15 18:52 ` Peter Korsgaard
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.