From 79ed7514ef546cf5377351b317b2e5331c4d6ff3 Mon Sep 17 00:00:00 2001 From: Bartosz Nitka Date: Fri, 6 Nov 2026 21:37:03 +0000 Subject: [PATCH] Bluetooth: restore the MT7932 PCIe build rule and context analysis Commit a03e01fbb531 ("Bluetooth: add J813 N1 native transport and encrypted connection bring-up") rewrote drivers/bluetooth/Makefile from an older copy of the file. Besides its own additions it dropped: - the mt7932_bt_pcie rule added by 1d4782c41546 ("Bluetooth: add opt-in J700 MT7932 PCIe transport experiment"), so CONFIG_BT_MTK7932_PCIE=m builds nothing and the J700 Bluetooth function has no driver; - CONTEXT_ANALYSIS := y from e01e99a5ec21 ("Bluetooth: enable context analysis"). Restore both. The PCMCIA rules it re-added (dtl1_cs, bt3c_cs, bluecard_cs) have no Kconfig symbols since 794b5e7727de and are inert; they are left for a separate cleanup. Tested on J700 (MacBook Neo) at 9127278801dd: mt7932_bt_pcie.ko is built and loads, and the controller registers as hci0. Signed-off-by: Bartosz Nitka Co-Authored-By: Claude Opus 5.5 --- drivers/bluetooth/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/bluetooth/Makefile b/drivers/bluetooth/Makefile index 74c3834c2c4a3..eb3b4de799a3b 100644 --- a/drivers/bluetooth/Makefile +++ b/drivers/bluetooth/Makefile @@ -55,3 +55,7 @@ hci_uart-$(CONFIG_BT_HCIUART_MRVL) += hci_mrvl.o hci_uart-$(CONFIG_BT_HCIUART_AML) += hci_aml.o hci_uart-objs := $(hci_uart-y) obj-$(CONFIG_BT_CENTAURI) += btcentauri.o + +obj-$(CONFIG_BT_MTK7932_PCIE) += mt7932_bt_pcie.o + +CONTEXT_ANALYSIS := y