diff --git a/package/directfb/Config.in b/package/directfb/Config.in index f8865e8605..548f602eb6 100644 --- a/package/directfb/Config.in +++ b/package/directfb/Config.in @@ -125,6 +125,10 @@ config BR2_PACKAGE_DIRECTFB_GIF bool "enable GIF support" default y +config BR2_PACKAGE_DIRECTFB_TIFF + bool "enable TIFF support" + select BR2_PACKAGE_TIFF + config BR2_PACKAGE_DIRECTFB_IMLIB2 bool "enable IMLIB2 support" select BR2_PACKAGE_IMLIB2 diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk index ea579f556f..5e68b7bc6d 100644 --- a/package/directfb/directfb.mk +++ b/package/directfb/directfb.mk @@ -106,6 +106,13 @@ else DIRECTFB_CONF_OPTS += --disable-gif endif +ifeq ($(BR2_PACKAGE_DIRECTFB_TIFF),y) +DIRECTFB_CONF_OPTS += --enable-tiff +DIRECTFB_DEPENDENCIES += tiff +else +DIRECTFB_CONF_OPTS += --disable-tiff +endif + ifeq ($(BR2_PACKAGE_DIRECTFB_PNG),y) DIRECTFB_CONF_OPTS += --enable-png DIRECTFB_DEPENDENCIES += libpng