summaryrefslogtreecommitdiffstats
path: root/package/directfb/directfb.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/directfb/directfb.mk')
-rw-r--r--package/directfb/directfb.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk
index c5d9c2b58..ccb0c5aa9 100644
--- a/package/directfb/directfb.mk
+++ b/package/directfb/directfb.mk
@@ -121,6 +121,12 @@ else
DIRECTFB_DITHER_RGB16:=--with-dither-rgb16=none
endif
+ifeq ($(BR2_PACKAGE_DIRECTB_TESTS),y)
+DIRECTFB_TESTS:=--with-tests
+else
+DIRECTFB_TESTS:=
+endif
+
DIRECTFB_CONF_OPT = \
--localstatedir=/var \
--with-gfxdrivers=$(DIRECTFB_GFX) \
@@ -146,7 +152,8 @@ DIRECTFB_CONF_OPT = \
--disable-sdl \
--disable-vnc \
--disable-video4linux \
- --disable-video4linux2
+ --disable-video4linux2 \
+ $(DIRECTFB_TESTS)
DIRECTFB_DEPENDENCIES = $(DIRECTFB_DEP) freetype $(DIRECTFB_FUSION)