summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2010-04-30 02:58:47 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-05-03 09:26:37 +0200
commit58633266d53994737b469fe3205c7e138203a850 (patch)
tree368102a90e236059cf0872868085d1cb8139f40b /package
parent38b915c18523647cbfeee9bbb814ea612c28bf62 (diff)
downloadbuildroot-novena-58633266d53994737b469fe3205c7e138203a850.tar.gz
buildroot-novena-58633266d53994737b469fe3205c7e138203a850.zip
directfb: added directfb tests installation option
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/directfb/Config.in3
-rw-r--r--package/directfb/directfb.mk9
2 files changed, 11 insertions, 1 deletions
diff --git a/package/directfb/Config.in b/package/directfb/Config.in
index 7c41cdf21..5e81b7ede 100644
--- a/package/directfb/Config.in
+++ b/package/directfb/Config.in
@@ -98,4 +98,7 @@ config BR2_PACKAGE_DIRECTB_DITHER_RGB16
Enable dithering when loading images to RGB16 surfaces.
This increases the data section by 64 KBytes.
+config BR2_PACKAGE_DIRECTB_TESTS
+ bool "build directfb tests"
+
endif # BR2_PACKAGE_DIRECTFB
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)