{"id":808146,"url":"http://patchwork.ozlabs.org/api/1.2/patches/808146/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20170831094932.11121-1-joerg.krause@embedded.rocks/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/1.2/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170831094932.11121-1-joerg.krause@embedded.rocks>","list_archive_url":null,"date":"2017-08-31T09:49:31","name":"[1/2] bluez5_utils: define FIRMWARE_DIR for hciattach_bcm43xx","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"9182dbd922ebb4150c1b717599eab39ac52704ca","submitter":{"id":65665,"url":"http://patchwork.ozlabs.org/api/1.2/people/65665/?format=json","name":"Jörg Krause","email":"joerg.krause@embedded.rocks"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20170831094932.11121-1-joerg.krause@embedded.rocks/mbox/","series":[{"id":778,"url":"http://patchwork.ozlabs.org/api/1.2/series/778/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=778","date":"2017-08-31T09:49:32","name":"[1/2] bluez5_utils: define FIRMWARE_DIR for hciattach_bcm43xx","version":1,"mbox":"http://patchwork.ozlabs.org/series/778/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/808146/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/808146/checks/","tags":{},"related":[],"headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xjczd72mFz9s7G\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 19:49:49 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 8AC9A88488;\n\tThu, 31 Aug 2017 09:49:44 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id KN+uafwUWHPJ; Thu, 31 Aug 2017 09:49:42 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id A68AE8847E;\n\tThu, 31 Aug 2017 09:49:42 +0000 (UTC)","from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 3707F1C411E\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 31 Aug 2017 09:49:41 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 2DCD187254\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 31 Aug 2017 09:49:41 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id y3d2irKFAFaR for <buildroot@lists.busybox.net>;\n\tThu, 31 Aug 2017 09:49:40 +0000 (UTC)","from mout02.posteo.de (mout02.posteo.de [185.67.36.142])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id EB90982019\n\tfor <buildroot@buildroot.org>; Thu, 31 Aug 2017 09:49:39 +0000 (UTC)","from customer (localhost [127.0.0.1])\n\tby submission (posteo.de) with ESMTPSA id 3xjczN0lGBz101D\n\tfor <buildroot@buildroot.org>; Thu, 31 Aug 2017 11:49:35 +0200 (CEST)","from mail.embedded.rocks ([127.0.0.1])\n\tby localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new,\n\tport 10025)\n\twith ESMTP id 2QXb05E5R_D1; Thu, 31 Aug 2017 11:49:34 +0200 (CEST)","from nzxt.fritz.box (port-92-195-126-231.dynamic.qsc.de\n\t[92.195.126.231]) (Authenticated sender: joerg.krause@embedded.rocks)\n\tby mail.embedded.rocks (Postfix) with ESMTPSA;\n\tThu, 31 Aug 2017 11:49:34 +0200 (CEST)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"from auto-whitelisted by SQLgrey-1.7.6","From":"=?utf-8?q?J=C3=B6rg_Krause?= <joerg.krause@embedded.rocks>","To":"buildroot@buildroot.org","Date":"Thu, 31 Aug 2017 11:49:31 +0200","Message-Id":"<20170831094932.11121-1-joerg.krause@embedded.rocks>","X-Mailer":"git-send-email 2.14.1","MIME-Version":"1.0","Subject":"[Buildroot] [PATCH 1/2] bluez5_utils: define FIRMWARE_DIR for\n\thciattach_bcm43xx","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"},"content":"The tool hciattach_bcm43xx defines the default firmware path in `/etc/firmware`,\nbut the Broadcom firmware blobs are usually stored in `/lib/firmware`.\n\nSigned-off-by: Jörg Krause <joerg.krause@embedded.rocks>\n---\n package/bluez5_utils/bluez5_utils.mk | 4 ++++\n 1 file changed, 4 insertions(+)","diff":"diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk\nindex 13658cd050..af3dfbe38d 100644\n--- a/package/bluez5_utils/bluez5_utils.mk\n+++ b/package/bluez5_utils/bluez5_utils.mk\n@@ -80,6 +80,10 @@ define BLUEZ5_UTILS_INSTALL_GATTTOOL\n \t$(INSTALL) -D -m 0755 $(@D)/attrib/gatttool $(TARGET_DIR)/usr/bin/gatttool\n endef\n BLUEZ5_UTILS_POST_INSTALL_TARGET_HOOKS += BLUEZ5_UTILS_INSTALL_GATTTOOL\n+# hciattach_bcm43xx defines default firmware path in `/etc/firmware`, but\n+# Broadcom firmware blobs are usually located in `/lib/firmware`.\n+BLUEZ5_UTILS_CONF_ENV += \\\n+\tCPPFLAGS='$(TARGET_CPPFLAGS) -DFIRMWARE_DIR=\\\"/lib/firmware\\\"'\n BLUEZ5_UTILS_CONF_OPTS += --enable-deprecated\n else\n BLUEZ5_UTILS_CONF_OPTS += --disable-deprecated\n","prefixes":["1/2"]}