[PATCH BlueZ 2/4] build: install obexd (dbus,systemd} services as needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Emil Velikov <emil.l.velikov@xxxxxxxxx>

Currently we ship the service files, even when built with

Move the if OBEX guard few lines further up.

Signed-off-by: Emil Velikov <emil.l.velikov@xxxxxxxxx>
 Makefile.obexd | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.obexd b/Makefile.obexd
index b91ca6644..4a89e0335 100644
--- a/Makefile.obexd
+++ b/Makefile.obexd
@@ -1,4 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0
+if OBEX
 systemduserunitdir = $(SYSTEMD_USERUNITDIR)
 systemduserunit_DATA = obexd/src/obex.service
@@ -7,7 +9,6 @@ endif
 dbussessionbusdir = $(DBUS_SESSIONBUSDIR)
 dbussessionbus_DATA = obexd/src/org.bluez.obex.service
-if OBEX
 obex_plugindir = $(libdir)/obex/plugins


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux