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 <marcel@xxxxxxxxxxxx> 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 >