From patchwork Mon Dec 5 13:15:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 702728 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tXQH15H1Qz9s3T for ; Tue, 6 Dec 2016 00:15:25 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=boundarydevices-com.20150623.gappssmtp.com header.i=@boundarydevices-com.20150623.gappssmtp.com header.b="z5MzA2j4"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id EE448840F5; Mon, 5 Dec 2016 13:15:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Kb4To5lJVY_U; Mon, 5 Dec 2016 13:15:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 3A9BA84562; Mon, 5 Dec 2016 13:15:22 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id CF41B1C05CA for ; Mon, 5 Dec 2016 13:15:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C9E30840F5 for ; Mon, 5 Dec 2016 13:15:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x_q_VH-Yuyry for ; Mon, 5 Dec 2016 13:15:19 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 7BBF284562 for ; Mon, 5 Dec 2016 13:15:19 +0000 (UTC) Received: by mail-wm0-f49.google.com with SMTP id t79so92233220wmt.0 for ; Mon, 05 Dec 2016 05:15:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boundarydevices-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=R9HusaYZmo0Uu/SWQOGe2YgZop/b3of3hYFrRz16l+w=; b=z5MzA2j4debOsPE7loFHpMstXQ3LecWhE7dDlwURvutjgAEN2FiIDRVa58pF00u+5J 2lTGJA88mhR7bZ6OeBSDaiO40VJMF5J0rkbxDjePVYgyuUlXelfIRESlMCKByGlvPE/5 ewgpz26PiIHxpiBEDZ4nw02XrZXC8Vo8mcYSeaI2Th5lopM4hxa8ZrKva5XJ+yPsbKRM +/zCKjnRPwN2HdWLnT1FAbGfdAscs6kWDrphsO+hxj/AwJsZAO+fEK/cuKav0d/HOgvK f8WnEwiExHifrKdVlmrk3et0Oy3UfyQdcRpX7LuOiuN/JMW1pGufFzy0q2u79+dNtTnG NCNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=R9HusaYZmo0Uu/SWQOGe2YgZop/b3of3hYFrRz16l+w=; b=hJPR69EjxjiSzd30k9eY6BGiGJVgwecr8OOzSYlc4HTKiYQODzYEgA+1JgfjUuj49O lpJxvyc5UGxNF/kB2ypGVZgjAK/n+CCpHCHGxFeD3MyUVq0XtaGS3tA5B0ES80C8zIpk gGBzC9Hbo4FiTk0LSXKjZtU2SBo+O7UANdRNWZ4Zr3qUv0u/muUa67qEEndm3sZhN8cP SSMjZ3ewhtFAmd/UeufLEHec+57VWd1odY4woQ7LVEoC4r3MZBVfoJDefk6japAGMDNM Io2p8lwiCMpl2fj36vpKa3F1Iz7jLzPLFef0gTVMIHYAKzF05NvMZFTQA2sBo7/YWDpp /OtQ== X-Gm-Message-State: AKaTC01ZBnrq7EDJ7tG2Qfq4ckhCm3gNG9/5LEtKnxofTpsacm+R9bl4nX5YF+zWWCqzow== X-Received: by 10.28.167.199 with SMTP id q190mr10182222wme.15.1480943716427; Mon, 05 Dec 2016 05:15:16 -0800 (PST) Received: from x240.lan ([80.12.38.203]) by smtp.googlemail.com with ESMTPSA id b7sm20334936wjm.39.2016.12.05.05.15.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Dec 2016 05:15:15 -0800 (PST) From: Gary Bisson To: buildroot@buildroot.org Date: Mon, 5 Dec 2016 14:15:04 +0100 Message-Id: <20161205131504.28872-1-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.10.2 Subject: [Buildroot] [PATCH] bluez5_utils: add autoreconf back X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Not necessary for an unmodified package. However if your external layer includes BlueZ5 patches which brings new files (such as a new hciattach protocol), it will not be built since the Makefile.in is already there. Forcing an autoreconf fixes such issue. Signed-off-by: Gary Bisson --- Hi all, I know this is a corner case which isn't a problem for 99% of users so I won't be surprised if it is rejected. The use case here is that we provide a WiFi/BT combo from Qualcomm (QCA9377) which isn't supported in upstream BlueZ5. https://boundarydevices.com/product/bd_sdmac_wifi/ Qualcomm said there was no plan to upstream the support, but provides their own (outdated) tree in codeaurora: https://source.codeaurora.org/quic/la/platform/external/bluetooth/bluez/ We generated a patch out of that repo that allows to add support for this chip in Yocto (with a simple bbappend): https://github.com/boundarydevices/meta-boundary/tree/krogoth/recipes-connectivity/bluez5/bluez5 Now the idea is to provide a Boundary external layer that adds support for this chip in Buildroot. When adding this patch, the builds fails since hciattach_rome.c isn't specified in the Makefile.in already present in the archive. Let me know if there's another opion in your opinion. Regards, Gary --- package/bluez5_utils/bluez5_utils.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk index 49cc7c2..af92926 100644 --- a/package/bluez5_utils/bluez5_utils.mk +++ b/package/bluez5_utils/bluez5_utils.mk @@ -11,6 +11,7 @@ BLUEZ5_UTILS_INSTALL_STAGING = YES BLUEZ5_UTILS_DEPENDENCIES = dbus libglib2 BLUEZ5_UTILS_LICENSE = GPLv2+, LGPLv2.1+ BLUEZ5_UTILS_LICENSE_FILES = COPYING COPYING.LIB +BLUEZ5_UTILS_AUTORECONF = YES BLUEZ5_UTILS_CONF_OPTS = \ --enable-tools \