diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2017-10-25 18:03:26 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-10-26 14:08:55 +0200 |
commit | 3a798acf239dee04d573f575337bf823c13020fd (patch) | |
tree | 55d7706c19190cbbaee6960dbf66a48ae29efd34 | |
parent | 07e4910c56746336d35ae8ed7183c36b3675fc0d (diff) | |
download | buildroot-3a798acf239dee04d573f575337bf823c13020fd.tar.gz buildroot-3a798acf239dee04d573f575337bf823c13020fd.zip |
sdl2: explicitly disable raspberry pi video backend
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>
-rw-r--r-- | package/sdl2/sdl2.mk | 3 |
1 files changed, 2 insertions, 1 deletions
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 |