summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-13 06:14:15 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-13 06:14:15 +0000
commitd6a4c8a6f813f399a22d76904f00f2916b65947c (patch)
tree46a321ce1d847c67f1c2dc4643da3ae4c1b8ccf8
parente4c6ed5625e68e44f5a0026c98faf50f826f3415 (diff)
downloadbuildroot-novena-d6a4c8a6f813f399a22d76904f00f2916b65947c.tar.gz
buildroot-novena-d6a4c8a6f813f399a22d76904f00f2916b65947c.zip
Add dependency to linux-fusion, if DirectFB is built with multi
-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