From: Lionel Landwerlin Date: Fri, 30 Apr 2010 00:58:47 +0000 (+0200) Subject: directfb: added directfb tests installation option X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58633266d53994737b469fe3205c7e138203a850;p=buildroot.git directfb: added directfb tests installation option Signed-off-by: Lionel Landwerlin Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/package/directfb/Config.in b/package/directfb/Config.in index 7c41cdf212..5e81b7ede8 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 c5d9c2b587..ccb0c5aa9a 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)