aboutsummaryrefslogtreecommitdiff
path: root/package/directfb/directfb.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/directfb/directfb.mk')
-rw-r--r--package/directfb/directfb.mk16
1 files changed, 15 insertions, 1 deletions
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) \