summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/Makefile
diff options
context:
space:
mode:
authorMarcel Holtmann2014-12-30 05:48:35 +0100
committerJohan Hedberg2014-12-30 07:53:55 +0100
commitee485290c6af942f0371def632c32e747d110b1e (patch)
tree6571bc3ae7368bbdf83f7cc48bdf4c19679f0730 /net/bluetooth/Makefile
parentBluetooth: Fix const declarations for smp_f5 and smp_f6 (diff)
downloadkernel-qcow2-linux-ee485290c6af942f0371def632c32e747d110b1e.tar.gz
kernel-qcow2-linux-ee485290c6af942f0371def632c32e747d110b1e.tar.xz
kernel-qcow2-linux-ee485290c6af942f0371def632c32e747d110b1e.zip
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__