Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1407663rdb; Fri, 16 Feb 2024 15:13:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUCJ6Sofgx3qp5s6XB096iz0WgfYV14fUS02G6XH5xcNjxBgd5A6yE+rAPX4wX/F34WIEgTLspG8Bt9BbcQjbCo9TYfRJI8vrnFZytQmg== X-Google-Smtp-Source: AGHT+IHHc8lzYvoy1wFcwM/7z1mRKU6Ly72VglaEAJzjJhJe5BBLcU/hUtIo3INO9u6EFn/rDH+h X-Received: by 2002:a05:6808:23cb:b0:3bf:dfa8:5190 with SMTP id bq11-20020a05680823cb00b003bfdfa85190mr6810888oib.10.1708125221041; Fri, 16 Feb 2024 15:13:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708125221; cv=pass; d=google.com; s=arc-20160816; b=zeip0ESUKsuYfBS4EtSfOMZBaxGjMvPLn4tC2UrVHg/1meyje8nNdZcIh7RlZ4+HWV EbgHOQ13QYsxG96svYPBK7dIiGK/61at0SknKidvf3J0QBAieMGbCbgs7amdlNN7BZKd q9G9tS4xp4X+n/b5bB3TwFXI8EKXnBD8reJq5yTvIvkZ+dOi3bVonOcm+k/ImZL7xbQy G9JkoPh9LecgB9T4yn4DswrzOgIMmFd4HKcBbUxL7K/pEaDddO079iDOFKF0U3tSV9yf wb0fWTlEeh5c59RUQ0FD23vuSyd9v/KYHrpaTxbSlB+/7UbI3cW1AlOoWuS3avZb+6aq zwOg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=0qkqFp0+1aU8QBRhgJ1dEi7LPFC1fcFw0idnFhUlUCc=; fh=4lGQI6056MBa4/oovMyIYaKLn+Wz/24RGvUivMmQP8E=; b=g4LjqX6mX9fOQEL89YFL3h6QCudiz+gpx3szj2sN5PNI9YNbAScJJoL72xF/mkMK8w ux9G1knHwI/2/RoYSkZOIyhHGSUvzOhr75CmftYNv857uFwmIzzQJFm9BQ1sDJTi4rzn ton2dwZlp38DJyexXz6eSZ2FNYebKTAMo7Pup33ep0lYCpMyWYNN8RT9y6/1+uFCYugZ ubqK3MOjMoB0RgqzYUidhqUrWNjsndLRKyjyOrCH6IZ0pq6G5QoU2LTpLh0BgJwIyWSu pGSMUueRGKizj/6oF5/tf6eXkzkyjqxh8MMD1ybVO4Cj6lZdUmjy++ST40CbMVgZymAP nImQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QNt7DmlD; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-1954-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1954-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id o11-20020ad45c8b000000b0068f03325de7si942268qvh.366.2024.02.16.15.13.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 15:13:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-1954-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QNt7DmlD; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-1954-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1954-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C63941C20993 for ; Fri, 16 Feb 2024 23:13:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF49414F9F0; Fri, 16 Feb 2024 23:11:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QNt7DmlD" X-Original-To: linux-bluetooth@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2C7451487F4 for ; Fri, 16 Feb 2024 23:11:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708125071; cv=none; b=QDe6XY/g6WRyCHxb8Jho90semLvmraPmygQWb0GTVXnDEvblVudSC+aAPPvM/oIHRJf44r0/I2YXeqiZ1sHynp2vflrkfLZW0utkvs++7N6Byu0r8HMABFcGOlQ+xZ6pCLIQpANq1TyWxg/0Sa4ceNtfk/R4+ZGc+UPA0Io/RQg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708125071; c=relaxed/simple; bh=pn4oXOiprsJ9P+/w7VthZ06gnonlcvDwigv5H1AczbU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To; b=iNKDuRu/vYMOpCarooiXblLR6lf4y5aihHDBBkcDMmaPwHhWgO0sHo9fWcFtCEf8etb4lzTZ7idA0/2NWa5XtDcNXjSksvfpEt7s9zusSINFjvwY+BG32Acw11k/8XuZJ3RJ6YJNr+r0q+6rX9do+BSonorQJSZVoWzsN+JPjew= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QNt7DmlD; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 03BFDC43390 for ; Fri, 16 Feb 2024 23:11:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708125071; bh=pn4oXOiprsJ9P+/w7VthZ06gnonlcvDwigv5H1AczbU=; h=From:Date:Subject:References:In-Reply-To:To:Reply-To:From; b=QNt7DmlDvdgltjZzwKSN39HQ46JaTlT/VgZpLtVlBz1kE4ulwwWFOi2x3t4FqiUyd rubZ83CH5ouSe0dyidyEBTxyLMdJfoODTFK9JCXCEssvQ7VvayTz8DBDz+4RzdD4Tc N71FEWWP/Z/RfSuZU4kpn+aZPmEvUOQRGvGnRF1q6KbQnnBG7eIGRVNi7sAkMUim3Y mdn3+4MtQYvt0TejiDrymS83qym0iz9UgAW8fiiXfWPwnrF45CwCpsJF+PTKH1btIN 9F/xD+R8MkculwfK1fn+MuB7WNgilobGkfGpqYvg1l2b1lCtBkJJPb0+dg4nsGWjoe N0/E17hERIMYQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF694C48BF8 for ; Fri, 16 Feb 2024 23:11:10 +0000 (UTC) From: Emil Velikov via B4 Relay Date: Fri, 16 Feb 2024 23:11:06 +0000 Subject: [PATCH BlueZ v2 02/10] build: install obexd (dbus,systemd} services as needed Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240216-hook-fixup-v2-2-a6b192d1a6ad@gmail.com> References: <20240216-hook-fixup-v2-0-a6b192d1a6ad@gmail.com> In-Reply-To: <20240216-hook-fixup-v2-0-a6b192d1a6ad@gmail.com> To: linux-bluetooth@vger.kernel.org X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708125068; l=708; i=emil.l.velikov@gmail.com; s=20230301; h=from:subject:message-id; bh=ydMrW4KQq1RxtsNE5Z3GD8gOdVpX/eInfAQOzvCNhPM=; b=IrYvb1KVOghrustydreRo3bmyf2og6elMhJBTvp+Y0TbzI7qTGuQPiB0b1hSXzDQHXXSxnBXQ K2QeywgpuavAtAGEmgRUGM7CedeeoFoKeaQl+LP4GwYSBJfYVcujLMP X-Developer-Key: i=emil.l.velikov@gmail.com; a=ed25519; pk=qeUTVTNyI3rcR2CfNNWsloTihgzmtbZo98GdxwZKCkY= X-Endpoint-Received: by B4 Relay for emil.l.velikov@gmail.com/20230301 with auth_id=35 X-Original-From: Emil Velikov Reply-To: From: Emil Velikov Currently we ship the service files, even when built with --disable-obex. Move the "if OBEX" guard few lines further up. --- Makefile.obexd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.obexd b/Makefile.obexd index 0e8bc6de7..e8e4a6144 100644 --- a/Makefile.obexd +++ b/Makefile.obexd @@ -1,4 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 +if OBEX + if SYSTEMD systemduserunitdir = $(SYSTEMD_USERUNITDIR) systemduserunit_DATA = obexd/src/obex.service @@ -16,7 +18,6 @@ endif dbussessionbusdir = $(DBUS_SESSIONBUSDIR) dbussessionbus_DATA = obexd/src/org.bluez.obex.service -if OBEX obex_plugindir = $(libdir)/obex/plugins -- 2.43.1