summaryrefslogtreecommitdiff
path: root/sd/Library_sdui.mk
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2012-10-21 14:54:53 +0200
committerRene Engelhard <rene@debian.org>2012-10-21 23:01:47 +0200
commit7c8c73dd5cf84050a8a2c51b04d7f5278b409fd7 (patch)
treecd340ea358a42b8638377102306b7e12df011e7e /sd/Library_sdui.mk
parent22238981b9f271d75f4d4c8b39b56cbc3616bff2 (diff)
fix sdremote related configure switches
sdremote itself apparently works also over IP (WLAN), so we don't need to disable it when we just don't want/have bluetooth. And also dbus is also needed in the bluez case Change-Id: I55ba07cd715d1e9bd641ef28e2391e4fe85b85e0
Diffstat (limited to 'sd/Library_sdui.mk')
-rw-r--r--sd/Library_sdui.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/sd/Library_sdui.mk b/sd/Library_sdui.mk
index 98c1fe96c573..9d4ec750fd0b 100644
--- a/sd/Library_sdui.mk
+++ b/sd/Library_sdui.mk
@@ -41,6 +41,13 @@ ifeq ($(ENABLE_SDREMOTE),YES)
$(eval $(call gb_Library_add_defs,sdui,\
-DENABLE_SDREMOTE \
))
+
+ifeq ($(ENABLE_BLUETOOTH),YES)
+$(eval $(call gb_Library_add_defs,sdui,\
+ -DENABLE_BLUETOOTH \
+))
+endif
+
endif
$(eval $(call gb_Library_use_sdk_api,sdui))