linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [BlueZ v2 00/10] build: Add options for every plugin
Date: Thu, 17 Nov 2016 14:19:51 +0200	[thread overview]
Message-ID: <1479385201-10559-1-git-send-email-luiz.dentz@gmail.com> (raw)

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This adds a build option for non-essential plugins so they can be
disable/enabled separately and leave options such as experimental only
for tools.

Plugins that were enabled by default were given a disable option, for
the option plugins behind experimental they are now supported with a
enable option and they continue to be build with bootstrap-configure.

This make one able to select exactly what plugins shall be build which,
so it is now possible to build bluetoothd without any BR/EDR profile
built-in which reduces the binary size of bluetoothd:

all options:
  text     data     bss     dec     hex filename
1271889  292976  294144 1859009  1c5dc1 src/bluetoothd

with --disable-a2dp --disable-avrcp --disable-network --disable-hid:
text       data     bss     dec     hex filename
1003609  227160  226464 1457233  163c51 src/bluetoothd

v2: Update README to reflect the options changes.

Luiz Augusto von Dentz (10):
  build: Add option to enable NFC pairing
  build: Add option to enable SAP profile
  build: Add option to disable A2DP profile
  build: Add option to disable AVRCP profile
  build: Add option to disable network profiles
  build: Add option to disable HID profile
  build: Add option to disable HoG profile
  build: Add option to enable health profiles
  build: Update experimental documentation
  build: Update bootstrap-configure with new build options

 Makefile.plugins    | 17 +++++++++--
 README              | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++---
 bootstrap-configure |  3 ++
 configure.ac        | 34 ++++++++++++++++++++-
 4 files changed, 134 insertions(+), 7 deletions(-)

-- 
2.7.4


             reply	other threads:[~2016-11-17 12:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-17 12:19 Luiz Augusto von Dentz [this message]
2016-11-17 12:19 ` [BlueZ v2 01/10] build: Add option to enable NFC pairing Luiz Augusto von Dentz
2016-11-17 12:19 ` [BlueZ v2 02/10] build: Add option to enable SAP profile Luiz Augusto von Dentz
2016-11-17 12:19 ` [BlueZ v2 03/10] build: Add option to disable A2DP profile Luiz Augusto von Dentz
2016-11-17 12:19 ` [BlueZ v2 04/10] build: Add option to disable AVRCP profile Luiz Augusto von Dentz
2016-11-17 12:19 ` [BlueZ v2 05/10] build: Add option to disable network profiles Luiz Augusto von Dentz
2016-11-17 12:19 ` [BlueZ v2 06/10] build: Add option to disable HID profile Luiz Augusto von Dentz
2016-11-17 12:19 ` [BlueZ v2 07/10] build: Add option to disable HoG profile Luiz Augusto von Dentz
2016-11-17 12:19 ` [BlueZ v2 08/10] build: Add option to enable health profiles Luiz Augusto von Dentz
2016-11-17 12:20 ` [BlueZ v2 09/10] build: Update experimental documentation Luiz Augusto von Dentz
2016-11-17 12:20 ` [BlueZ v2 10/10] build: Update bootstrap-configure with new build options Luiz Augusto von Dentz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1479385201-10559-1-git-send-email-luiz.dentz@gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).