aboutsummaryrefslogtreecommitdiff
path: root/package/directfb
diff options
context:
space:
mode:
Diffstat (limited to 'package/directfb')
-rw-r--r--package/directfb/Config.in14
-rw-r--r--package/directfb/directfb.mk16
2 files changed, 27 insertions, 3 deletions
diff --git a/package/directfb/Config.in b/package/directfb/Config.in
index fce9ed46cc..bb355309cb 100644
--- a/package/directfb/Config.in
+++ b/package/directfb/Config.in
@@ -11,7 +11,18 @@ config BR2_PACKAGE_DIRECTFB_MULTI
select BR2_PACKAGE_LINUX_FUSION
help
Enable use of multiple concurrent DirectFB applications
- http://www.directfb.org/
+
+config BR2_PACKAGE_DIRECTFB_DEBUG
+ bool "directfb debugging"
+ depends on BR2_PACKAGE_DIRECTFB
+ help
+ Compile DirectFB with lots of debug output
+
+config BR2_PACKAGE_DIRECTFB_TRACE
+ bool "directfb call trace support"
+ depends on BR2_PACKAGE_DIRECTFB
+ help
+ Enable call tracing for DirectFB applications
config BR2_PACKAGE_DIRECTFB_XSERVER
bool "build with X server backend"
@@ -76,7 +87,6 @@ config BR2_PACKAGE_DIRECTFB_GIF
bool "enable GIF support"
default y
depends on BR2_PACKAGE_DIRECTFB
- select BR2_PACKAGE_LIBUNGIF
config BR2_PACKAGE_DIRECTFB_JPEG
bool "enable JPEG support"
diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk
index 93b45938df..1c3b78adfb 100644
--- a/package/directfb/directfb.mk
+++ b/package/directfb/directfb.mk
@@ -19,6 +19,19 @@ else
DIRECTFB_MULTI:=
DIRECTFB_FUSION:=
endif
+
+ifeq ($(BR2_PACKAGE_DIRECTFB_DEBUG),y)
+DIRECTFB_DEBUG:=--enable-debug
+else
+DIRECTFB_DEBUG:=
+endif
+
+ifeq ($(BR2_PACKAGE_DIRECTFB_TRACE),y)
+DIRECTFB_TRACE:=--enable-trace
+else
+DIRECTFB_TRACE:=
+endif
+
ifeq ($(BR2_PACKAGE_XSERVER),y)
DIRECTFB_X:=--enable-x11
else
@@ -78,7 +91,6 @@ endif
ifeq ($(BR2_PACKAGE_DIRECTFB_GIF),y)
DIRECTFB_GIF:=--enable-gif
-DIRECTFB_DEP+= libungif
else
DIRECTFB_GIF:=--disable-gif
endif
@@ -111,6 +123,8 @@ DIRECTFB_CONF_OPT = \
--enable-shared \
--disable-explicit-deps \
$(DIRECTFB_MULTI) \
+ $(DIRECTFB_DEBUG) \
+ $(DIRECTFB_TRACE) \
$(DIRECTFB_X) \
$(DIRECTFB_JPEG) \
$(DIRECTFB_PNG) \