linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ 00/10] build: Add options for every plugin
@ 2016-11-11 17:22 Luiz Augusto von Dentz
  2016-11-11 17:22 ` [PATCH BlueZ 01/10] build: Add option to enable NFC pairing Luiz Augusto von Dentz
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Luiz Augusto von Dentz @ 2016-11-11 17:22 UTC (permalink / raw)
  To: linux-bluetooth

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

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 +++++++++++++++--
 bootstrap-configure |  3 +++
 configure.ac        | 34 +++++++++++++++++++++++++++++++++-
 3 files changed, 51 insertions(+), 3 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-11-11 17:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-11 17:22 [PATCH BlueZ 00/10] build: Add options for every plugin Luiz Augusto von Dentz
2016-11-11 17:22 ` [PATCH BlueZ 01/10] build: Add option to enable NFC pairing Luiz Augusto von Dentz
2016-11-11 17:22 ` [PATCH BlueZ 02/10] build: Add option to enable SAP profile Luiz Augusto von Dentz
2016-11-11 17:22 ` [PATCH BlueZ 03/10] build: Add option to disable A2DP profile Luiz Augusto von Dentz
2016-11-11 17:22 ` [PATCH BlueZ 04/10] build: Add option to disable AVRCP profile Luiz Augusto von Dentz
2016-11-11 17:22 ` [PATCH BlueZ 05/10] build: Add option to disable network profiles Luiz Augusto von Dentz
2016-11-11 17:22 ` [PATCH BlueZ 06/10] build: Add option to disable HID profile Luiz Augusto von Dentz
2016-11-11 17:22 ` [PATCH BlueZ 07/10] build: Add option to disable HoG profile Luiz Augusto von Dentz
2016-11-11 17:22 ` [PATCH BlueZ 08/10] build: Add option to enable health profiles Luiz Augusto von Dentz
2016-11-11 17:22 ` [PATCH BlueZ 09/10] build: Update experimental documentation Luiz Augusto von Dentz
2016-11-11 17:22 ` [PATCH BlueZ 10/10] build: Update bootstrap-configure with new build options Luiz Augusto von Dentz

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).