diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2021-01-31 21:18:40 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-02-08 10:57:05 +0100 |
commit | 12ad41f91f1824eb141e368294d97860644ab777 (patch) | |
tree | 032da73369f4cf1e2a4614c87b358a87fa64659b /arch/sandbox/os/Makefile | |
parent | f38f34a2f41e5981f2995231d94688d31104befc (diff) | |
download | barebox-12ad41f91f1824eb141e368294d97860644ab777.tar.gz barebox-12ad41f91f1824eb141e368294d97860644ab777.tar.xz |
sandbox: migrate to SDL 2.0
SDL 2.0 has been released more than 7 years ago and should be available
everywhere. Replace barebox's SDL 1.2 with SDL 2.0 instead:
- better maintained
- At least on Debian, you can't install x86_64 and i386 libsdl-dev at
the same time, which makes a quick use of CONFIG_SANDBOX_LINUX_I386
harder as the user needs to reinstall libraries. With SDL 2.0, it
works
- SDL 2.0 has easier audio API, which will be used in a later commit
- Wayland support for sandbox video driver
Port to SDL 2.0 and as we touch everything anyway, rename the
sdl_ functions to start with sdl_video_ to differentiate from upcoming
sdl_sound_.
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox/os/Makefile')
-rw-r--r-- | arch/sandbox/os/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sandbox/os/Makefile b/arch/sandbox/os/Makefile index 15d688bfdd..575b1a2130 100644 --- a/arch/sandbox/os/Makefile +++ b/arch/sandbox/os/Makefile @@ -17,8 +17,8 @@ endif obj-y = common.o tap.o obj-$(CONFIG_MALLOC_LIBC) += libc_malloc.o -CFLAGS_sdl.o = $(shell pkg-config sdl --cflags) -obj-$(CONFIG_DRIVER_VIDEO_SDL) += sdl.o +CFLAGS_sdl.o = $(shell pkg-config sdl2 --cflags) +obj-$(CONFIG_SDL) += sdl.o CFLAGS_ftdi.o = $(shell pkg-config libftdi1 --cflags) obj-$(CONFIG_GPIO_LIBFTDI1) += ftdi.o |