summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-11-05 06:53:49 +0100
committerDavid Tardon <dtardon@redhat.com>2013-11-05 06:53:49 +0100
commit8fa06c85daea3c9899991a5f38f7d72c483cf5cd (patch)
tree732bb0e05ccad633b1399ca3cbb90304baf6557b /RepositoryExternal.mk
parent217eae4f1f7d6f5c6d8efd3d86aa45e70ebee93f (diff)
add an external for bluez_bluetooth_headers
Change-Id: Idf48f9a5c2245f6696688a17a0fa3809ae751582
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 72604a140d0c..9220df7450c4 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -142,6 +142,22 @@ gb_LinkTarget__use_sane_headers :=
endif
+ifeq ($(SYSTEM_BLUEZ),YES)
+
+gb_LinkTarget__use_bluez_bluetooth_headers :=
+
+else # !SYSTEM_BLUEZ
+
+define gb_LinkTarget__use_bluez_bluetooth_headers
+$(call gb_LinkTarget_set_include,$(1),\
+ -I$(SRCDIR)/external/bluez_bluetooth/inc \
+ $$(INCLUDE) \
+)
+
+endef
+
+endif # SYSTEM_BLUEZ
+
# External libraries
ifeq ($(SYSTEM_CPPUNIT),YES)