summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/os/Makefile
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-09-12 15:38:42 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-09-25 10:15:29 +0200
commit9d73b518fc3c61640123f8499aab7f8373e41dbd (patch)
treeaf61e6fd5a655afb46f66aa8ca7d0d68f2026c83 /arch/sandbox/os/Makefile
parent910d0132905ca3ff12dddbcbceb94b4b5112ab5c (diff)
downloadbarebox-9d73b518fc3c61640123f8499aab7f8373e41dbd.tar.gz
barebox-9d73b518fc3c61640123f8499aab7f8373e41dbd.tar.xz
sandbox: add sdl video support
This will allow speed up the dev on framebuffer. By default the resolution is VGA but this can be changed via cmdline. We use a pthread to Flip the screen every 100ms as we can not detect when barebox update it as barebox simpliy write in a buffer. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox/os/Makefile')
-rw-r--r--arch/sandbox/os/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sandbox/os/Makefile b/arch/sandbox/os/Makefile
index dc211d94cd..2e65be5eed 100644
--- a/arch/sandbox/os/Makefile
+++ b/arch/sandbox/os/Makefile
@@ -13,3 +13,5 @@ NOSTDINC_FLAGS :=
obj-y = common.o tap.o
+CFLAGS_sdl.o = $(shell pkg-config sdl --cflags)
+obj-$(CONFIG_DRIVER_VIDEO_SDL) += sdl.o