summaryrefslogtreecommitdiff
path: root/package/directfb
diff options
context:
space:
mode:
Diffstat (limited to 'package/directfb')
-rw-r--r--package/directfb/directfb.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk
index ebe2c5673..3fe106171 100644
--- a/package/directfb/directfb.mk
+++ b/package/directfb/directfb.mk
@@ -13,8 +13,10 @@ DIRECTFB_DIR:=$(BUILD_DIR)/DirectFB-$(DIRECTFB_VERSION)
ifeq ($(BR2_PACKAGE_DIRECTFB_MULTI),y)
DIRECTFB_MULTI:=--enable-multi
+DIRECTFB_FUSION:=linux-fusion
else
DIRECTFB_MULTI:=
+DIRECTFB_FUSION:=
endif
$(DL_DIR)/$(DIRECTFB_SOURCE):
@@ -95,7 +97,8 @@ $(TARGET_DIR)/usr/lib/libdirectfb.so: $(STAGING_DIR)/usr/lib/libdirectfb.so
$(TARGET_DIR)/usr/lib/libdirect.so \
$(TARGET_DIR)/usr/lib/libfusion.so
-directfb: uclibc jpeg libpng freetype libsysfs tslib $(TARGET_DIR)/usr/lib/libdirectfb.so
+directfb: uclibc jpeg libpng freetype libsysfs tslib $(DIRECTFB_FUSION) \
+ $(TARGET_DIR)/usr/lib/libdirectfb.so
directfb-clean:
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIRECTFB_DIR) uninstall