From 806b6cec9c6ce6bc1c314fa71cc77edb1664201c Mon Sep 17 00:00:00 2001 From: Shobek Attupurath Date: Mon, 21 Oct 2024 17:29:01 +0000 Subject: [PATCH] bluetooth: Disable realtek bluetooth for RHIVOS-1 Disabling build of Realtek BT USB driver for RHIVOS-1 kernel as this is not required for RHIVOS-1. Bug 4915378 Change-Id: I8a50a5d69d1c836a2dbbf5de1d39f7f6dc2a62de Signed-off-by: Shobek Attupurath Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3234144 Reviewed-by: svcacv GVS: buildbot_gerritrpt Reviewed-by: Ashutosh Jha --- configs/Makefile.config.rhivos-1 | 1 + drivers/Makefile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/configs/Makefile.config.rhivos-1 b/configs/Makefile.config.rhivos-1 index 410b36c1..ee6f5972 100644 --- a/configs/Makefile.config.rhivos-1 +++ b/configs/Makefile.config.rhivos-1 @@ -8,4 +8,5 @@ export NV_OOT_REALTEK_R8168_SKIP_BUILD=y export NV_OOT_REALTEK_RTL8822CE_SKIP_BUILD=y export NV_OOT_PCIE_T264_SOC_SKIP_BUILD=y export NV_OOT_REALTEK_RTL8852CE_SKIP_BUILD=y +export NV_OOT_REALTEK_BTUSB_SKIP_BUILD=y subdir-ccflags-y += -DNV_CONFIG_PCIE_TEGRA_DMA_DISABLE diff --git a/drivers/Makefile b/drivers/Makefile index 8d09a7e9..ac5421f5 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -12,8 +12,10 @@ ifdef CONFIG_PSTORE obj-m += block/tegra_oops_virt_storage/ endif ifdef CONFIG_BT +ifneq ($(NV_OOT_REALTEK_BTUSB_SKIP_BUILD),y) obj-m += bluetooth/realtek/ endif +endif obj-m += bus/ obj-m += c2c/ obj-m += clink/