diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-02 01:59:25 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-02 02:10:05 -0400 |
commit | 922ca1dfc2127a5dc363e8c1e6c8a33c5a0a14c6 (patch) | |
tree | 9886294776fce61e1d91a95f5b08066652f33054 /net/bluetooth/Makefile | |
parent | 10a8b86f575235258bdf195e4503f2c2ddfd2e26 (diff) |
Bluetooth: Enable -D__CHECK_ENDIAN__ for sparse by default
The Bluetooth protocol and hardware is pretty much all little endian
and so when running sparse via "make C=2" for example, enable the
endian checks by default.
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/Makefile b/net/bluetooth/Makefile index dea6a287daca..6a791e73e39d 100644 --- a/net/bluetooth/Makefile +++ b/net/bluetooth/Makefile | |||
@@ -11,3 +11,5 @@ obj-$(CONFIG_BT_HIDP) += hidp/ | |||
11 | bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \ | 11 | bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \ |
12 | hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o sco.o lib.o \ | 12 | hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o sco.o lib.o \ |
13 | a2mp.o amp.o | 13 | a2mp.o amp.o |
14 | |||
15 | subdir-ccflags-y += -D__CHECK_ENDIAN__ | ||