summaryrefslogtreecommitdiff
path: root/package/directfb/directfb.mk
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2013-05-20 23:29:40 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-06-05 22:10:31 (GMT)
commit88378877273829c387f48a6c96959712b892856f (patch)
tree18af0df22266132c2d6b76679402a82fcb203360 /package/directfb/directfb.mk
parentbf3e314efbf5535dc36ce41fc7370a17bed2707d (diff)
downloadbuildroot-88378877273829c387f48a6c96959712b892856f.tar.gz
buildroot-88378877273829c387f48a6c96959712b892856f.tar.bz2
directfb: add optional imlib2 support
[Peter: drop default y] Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/directfb/directfb.mk')
-rw-r--r--package/directfb/directfb.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk
index 5ead084..e5a423d 100644
--- a/package/directfb/directfb.mk
+++ b/package/directfb/directfb.mk
@@ -108,6 +108,14 @@ else
DIRECTFB_CONF_OPT += --disable-jpeg
endif
+ifeq ($(BR2_PACKAGE_DIRECTFB_IMLIB2),y)
+DIRECTFB_CONF_OPT += --enable-imlib2
+DIRECTFB_DEPENDENCIES += imlib2
+DIRECTFB_CONF_ENV += ac_cv_path_IMLIB2_CONFIG=$(STAGING_DIR)/usr/bin/imlib2-config
+else
+DIRECTFB_CONF_OPT += --disable-imlib2
+endif
+
ifeq ($(BR2_PACKAGE_DIRECTFB_DITHER_RGB16),y)
DIRECTFB_CONF_OPT += --with-dither-rgb16=advanced
else