diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-02-14 22:40:06 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-02-15 17:54:13 +0100 |
commit | 035a07d5df7003bc6954f0aa42174416b775021c (patch) | |
tree | 5ae43717e095a0ff44fcb8eea1164ee22654d8ab /net/bluetooth/Makefile | |
parent | Bluetooth: btusb: Use matching names for Broadcom firmware files (diff) | |
download | linux-035a07d5df7003bc6954f0aa42174416b775021c.tar.xz linux-035a07d5df7003bc6954f0aa42174416b775021c.zip |
Bluetooth: Provide option to enable/disable debugfs information
The Bluetooth controllers can export extensive information about
internal states via debugfs. This patch provides an option to
choose if these information are provided or not.
For backwards compatibility with existing kernel configuration,
this option defaults to yes.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/Makefile')
-rw-r--r-- | net/bluetooth/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bluetooth/Makefile b/net/bluetooth/Makefile index 8e96e3072266..5d608799717e 100644 --- a/net/bluetooth/Makefile +++ b/net/bluetooth/Makefile @@ -13,8 +13,9 @@ bluetooth_6lowpan-y := 6lowpan.o bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \ hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o sco.o lib.o \ - a2mp.o amp.o ecc.o hci_request.o hci_debugfs.o + a2mp.o amp.o ecc.o hci_request.o +bluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs.o bluetooth-$(CONFIG_BT_SELFTEST) += selftest.o subdir-ccflags-y += -D__CHECK_ENDIAN__ |