Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp840152ybk; Wed, 13 May 2020 14:42:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcTPom6Vcem5PhxUp37IFA5SATaKwkVsxY8H0z2P2OTqs7yRMwzvheB/HEtFXitt/0rjQh X-Received: by 2002:a05:6402:379:: with SMTP id s25mr1540072edw.69.1589406125090; Wed, 13 May 2020 14:42:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589406125; cv=none; d=google.com; s=arc-20160816; b=uHogaDMf07CesEpd+1bMH84AG/n4XjQuuf5y+80iJOND6rgSdgz3uRK9Ta+bGx8KpU AjGpxn+p3xnqXqlbnKQbDRWiXB7504p1JshPr6bzuQkcyjbf4xqEDYu5L6evPaAY5hse x/BAzLQW05FUai9sZgiqwvFP7d2J0YB7OxUMF3i9gWuHvBiS/DfzxXnSLQiDaTLGOmY1 MJbceYGGnprP4+zmRi5yQrGaCdjevaY0tMEPrIJa6v/678eqh1WLO9ltbFXUWxmWPFQy LkKaupQppYNLVXGZm11jzEmipjiJIYFmRQhgj/7bBaoMbVl39QHNR5gMICP5u8Y4n4Gk Qekg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=jUgqD/1mE0M/NdryDGvF9KXQVYSbR3hhJRpB8xR6LTs=; b=L+JsRBEyajLdcuWXMMzUButWSlGmxZA7rFSkWQRnYH46VSCvqU4vTIutJgHHejFJDb qOMPvPXHEh7ZU6BFM6B1Lp19qHCfqH0CmFMODimx6kDQb3fXDDTHyVchmaG8GJDCCC03 abntj69hgAe4cIpdxNg0sbj/1STvVKzWxGDwX4UqtPVCRasNvk85Y0gzMwi8g8fER5bn 2oEDTnXVDzw5maNHp8IJFU2IOYJEBIF35nNDQ5rmLY3SzoTW9W2HJBzySR6EFII7NZ1B DmI4cZBiQ9/0REjp2FtubbPYc8g/VfnpZzf/1KCNWWh+fcxPBFofeIU/9HqbgfL+r4XY gLtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YOK9MJ+H; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 6si582992edp.2.2020.05.13.14.41.40; Wed, 13 May 2020 14:42:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YOK9MJ+H; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729607AbgEMVlT (ORCPT + 99 others); Wed, 13 May 2020 17:41:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729196AbgEMVlS (ORCPT ); Wed, 13 May 2020 17:41:18 -0400 Received: from mail-oo1-xc44.google.com (mail-oo1-xc44.google.com [IPv6:2607:f8b0:4864:20::c44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80665C061A0C for ; Wed, 13 May 2020 14:41:18 -0700 (PDT) Received: by mail-oo1-xc44.google.com with SMTP id i9so282805ool.5 for ; Wed, 13 May 2020 14:41:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jUgqD/1mE0M/NdryDGvF9KXQVYSbR3hhJRpB8xR6LTs=; b=YOK9MJ+H0dndV1ZERYL9GGnqvRa6gSM4o0PrPHr2zRSGSbD1yFMOQmIJCEB9yX3a3K kIsBq38gPhAg1j/KJcw29e2IDwV5FAUmrI43pe9vNTUmG+RFzIf1u+hOvT5nrf3NoGOL HrsPWt1ekSVRFLU7GzpBr+hXsb4V1pu/c9I5o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jUgqD/1mE0M/NdryDGvF9KXQVYSbR3hhJRpB8xR6LTs=; b=YOiI4+dwxZn7yjSVM6D4hKUQuW6MJEcvCwoKe7pZ3NkbKZg+2qKqe8d/er0pe3STzm 1aGiucbfYRtpiHLn1gYLchXrbgOEzoCXkoIVNuO/6grNbX15IZTGB9HCwouojJ9bdzEW gLEtcXifyyCKgYOpNRL5+z+WuWelxnR22GAeHMRp9jQztsAsaNVD/j4z8MQ9esCGzaEn Wb3wfJC2je71OvAJkN++kHEsHrTwKl37nqGheoWTucLOQ1LcGeA4n4fMUsU+10cHx2fh vq+kRr2Ro95sgADKEgFiwv1GApoSEfKZ9XCaNDQh2U8We49N3rZhLVyQxVKcQEG0Rx8G 9snA== X-Gm-Message-State: AOAM530e60rUbnjvWeZAZ4va4BkKd0f8fbz+iAf/XszD09dcuVB1NPYx brbNM1yXHcBJCatsM9UbxIHtmMT/dHMfTMg/4mXnSiHL X-Received: by 2002:a4a:2511:: with SMTP id g17mr1177931ooa.24.1589406077842; Wed, 13 May 2020 14:41:17 -0700 (PDT) MIME-Version: 1.0 References: <20200506005528.2897-1-sonnysasaka@chromium.org> <77B1AB20-C903-427C-A3BD-E10C79815EF9@holtmann.org> In-Reply-To: <77B1AB20-C903-427C-A3BD-E10C79815EF9@holtmann.org> From: Sonny Sasaka Date: Wed, 13 May 2020 14:41:06 -0700 Message-ID: Subject: Re: [PATCH] build: Add an option to explicitly disable installing hid2hci To: Marcel Holtmann Cc: BlueZ Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Thanks for the suggestion, Marcel. I have sent the v2 patch, please take another look. Thanks. On Wed, May 13, 2020 at 1:02 AM Marcel Holtmann wrote: > > Hi Sonny, > > > --- > > configure.ac | 5 ++++- > > 1 file changed, 4 insertions(+), 1 deletion(-) > > > > diff --git a/configure.ac b/configure.ac > > index 1433ace4a..ba9937a16 100644 > > --- a/configure.ac > > +++ b/configure.ac > > @@ -218,8 +218,11 @@ if (test "${enable_udev}" != "no" && test -z "${path_udevdir}"); then > > fi > > AC_SUBST(UDEV_DIR, [${path_udevdir}]) > > > > +AC_ARG_ENABLE(hid2hci, AC_HELP_STRING([--disable-hid2hci], > > + [disable hid2hci tool]), [enable_hid2hci=${enableval}]) > > AM_CONDITIONAL(HID2HCI, test "${enable_tools}" != "no" && > > - test "${enable_udev}" != "no") > > + test "${enable_udev}" != "no" && > > + test "${enable_hid2hci}" != "no") > > I looked at this again. Lets turn this around and make this an --enable-hid2hci similar to --enable-sixaxis. > > And you need to change the ${enable_tools} into ${enable_hid2hci} actually and not just add another dependency. Everything else seems to be already in the Makefile.tools for this. > > Regards > > Marcel >