summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/Makefile
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-12-29 20:48:35 -0800
committerJohan Hedberg <johan.hedberg@intel.com>2014-12-30 08:53:55 +0200
commitee485290c6af942f0371def632c32e747d110b1e (patch)
tree6571bc3ae7368bbdf83f7cc48bdf4c19679f0730 /net/bluetooth/Makefile
parent4da50de895588a0268b636314d7c1d08f18b20c9 (diff)
downloadlinux-ee485290c6af942f0371def632c32e747d110b1e.tar.bz2
Bluetooth: Add support for self testing framework
This add support for the Bluetooth self testing framework that allows running certain test cases of sample data to ensure correctness of its basic functionality. With this patch only the basic framework will be added. It contains the build magic that allows running this at module loading time or at late_initcall stage when built into the kernel image. 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/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/Makefile b/net/bluetooth/Makefile
index 364cff1ad4b1..8e96e3072266 100644
--- a/net/bluetooth/Makefile
+++ b/net/bluetooth/Makefile
@@ -15,4 +15,6 @@ 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
+bluetooth-$(CONFIG_BT_SELFTEST) += selftest.o
+
subdir-ccflags-y += -D__CHECK_ENDIAN__