mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
nvidia-oot: add support for recovery kernel
Stop compilation for nvidia-oot drivers, whose core kernel support is missing in recovery kernel. Bug 3863448 Change-Id: I36f09f74d4448af4b13eeebaaeadc53c3f83e002 Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2856892 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
5267694f8e
commit
dee4d41861
3
Makefile
3
Makefile
@@ -6,6 +6,9 @@ ccflags-y += -DCONFIG_TEGRA_FUSE_UPSTREAM
|
|||||||
LINUXINCLUDE += -I$(srctree.nvidia-oot)/include
|
LINUXINCLUDE += -I$(srctree.nvidia-oot)/include
|
||||||
|
|
||||||
obj-m += drivers/
|
obj-m += drivers/
|
||||||
|
|
||||||
|
ifdef CONFIG_SOUND
|
||||||
obj-m += sound/soc/tegra/
|
obj-m += sound/soc/tegra/
|
||||||
obj-m += sound/tegra-safety-audio/
|
obj-m += sound/tegra-safety-audio/
|
||||||
obj-m += sound/soc/tegra-virt-alt/
|
obj-m += sound/soc/tegra-virt-alt/
|
||||||
|
endif
|
||||||
|
|||||||
@@ -4,38 +4,60 @@
|
|||||||
LINUXINCLUDE += -I$(srctree.nvidia-oot)/include
|
LINUXINCLUDE += -I$(srctree.nvidia-oot)/include
|
||||||
|
|
||||||
obj-m += block/tegra_virt_storage/
|
obj-m += block/tegra_virt_storage/
|
||||||
|
ifdef CONFIG_PSTORE
|
||||||
obj-m += block/tegra_oops_virt_storage/
|
obj-m += block/tegra_oops_virt_storage/
|
||||||
|
endif
|
||||||
obj-m += c2c/
|
obj-m += c2c/
|
||||||
obj-m += clink/
|
obj-m += clink/
|
||||||
obj-m += cpuidle/
|
obj-m += cpuidle/
|
||||||
obj-m += crypto/
|
obj-m += crypto/
|
||||||
obj-m += debug/
|
obj-m += debug/
|
||||||
|
ifdef CONFIG_PM_DEVFREQ
|
||||||
obj-m += devfreq/
|
obj-m += devfreq/
|
||||||
|
endif
|
||||||
obj-m += firmware/tegra/
|
obj-m += firmware/tegra/
|
||||||
|
ifdef CONFIG_TEGRA_HOST1X
|
||||||
obj-m += gpu/
|
obj-m += gpu/
|
||||||
|
endif
|
||||||
obj-m += hwmon/
|
obj-m += hwmon/
|
||||||
|
ifdef CONFIG_I2C
|
||||||
obj-m += i2c/busses/
|
obj-m += i2c/busses/
|
||||||
obj-m += mfd/
|
obj-m += mfd/
|
||||||
|
endif
|
||||||
|
ifdef CONFIG_MTD
|
||||||
obj-m += mtd/devices/
|
obj-m += mtd/devices/
|
||||||
|
endif
|
||||||
obj-m += misc/
|
obj-m += misc/
|
||||||
obj-m += net/
|
obj-m += net/
|
||||||
obj-m += nvpps/
|
obj-m += nvpps/
|
||||||
obj-m += nvpmodel/
|
obj-m += nvpmodel/
|
||||||
|
ifdef CONFIG_PCI
|
||||||
obj-m += pci/
|
obj-m += pci/
|
||||||
|
endif
|
||||||
obj-m += pinctrl/
|
obj-m += pinctrl/
|
||||||
obj-m += platform/tegra/
|
obj-m += platform/tegra/
|
||||||
obj-m += pwm/
|
obj-m += pwm/
|
||||||
obj-m += ras/
|
obj-m += ras/
|
||||||
obj-m += rtc/
|
obj-m += rtc/
|
||||||
obj-m += cpuidle/
|
obj-m += cpuidle/
|
||||||
|
ifdef CONFIG_SCSI
|
||||||
obj-m += scsi/ufs/
|
obj-m += scsi/ufs/
|
||||||
|
endif
|
||||||
obj-m += soc/tegra/
|
obj-m += soc/tegra/
|
||||||
|
ifdef CONFIG_SPI
|
||||||
obj-m += spi/
|
obj-m += spi/
|
||||||
|
endif
|
||||||
|
ifdef CONFIG_I2C
|
||||||
obj-m += thermal/
|
obj-m += thermal/
|
||||||
|
endif
|
||||||
obj-m += watchdog/
|
obj-m += watchdog/
|
||||||
|
ifdef CONFIG_TEGRA_HOST1X
|
||||||
obj-m += video/tegra/
|
obj-m += video/tegra/
|
||||||
|
endif
|
||||||
obj-m += virt/tegra/
|
obj-m += virt/tegra/
|
||||||
|
ifdef CONFIG_TEGRA_HOST1X
|
||||||
obj-m += media/
|
obj-m += media/
|
||||||
obj-m += staging/platform/tegra/gte/
|
endif
|
||||||
|
obj-m += staging/platform/tegra/gte/
|
||||||
obj-m += staging/platform/tegra/gte_test/
|
obj-m += staging/platform/tegra/gte_test/
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,9 @@ ccflags-y += -I$(srctree.nvidia)/drivers/gpu/host1x/include
|
|||||||
ccflags-y += -I$(srctree.nvidia)/include
|
ccflags-y += -I$(srctree.nvidia)/include
|
||||||
ccflags-y += -I$(srctree)/include
|
ccflags-y += -I$(srctree)/include
|
||||||
|
|
||||||
|
ifdef CONFIG_TEGRA_HOST1X
|
||||||
obj-m += tegra-se-nvhost.o
|
obj-m += tegra-se-nvhost.o
|
||||||
obj-m += tegra-se-nvrng.o
|
|
||||||
obj-m += tegra-nvvse-cryptodev.o
|
|
||||||
obj-m += tegra-hv-vse-safety.o
|
obj-m += tegra-hv-vse-safety.o
|
||||||
|
obj-m += tegra-nvvse-cryptodev.o
|
||||||
|
endif
|
||||||
|
obj-m += tegra-se-nvrng.o
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
obj-m += mods/
|
obj-m += mods/
|
||||||
obj-m += nvsciipc/
|
obj-m += nvsciipc/
|
||||||
|
ifdef CONFIG_PCI
|
||||||
obj-m += tegra-pcie-dma-test.o
|
obj-m += tegra-pcie-dma-test.o
|
||||||
|
endif
|
||||||
obj-m += bluedroid_pm.o
|
obj-m += bluedroid_pm.o
|
||||||
obj-m += nvscic2c-pcie/
|
obj-m += nvscic2c-pcie/
|
||||||
|
|||||||
@@ -3,5 +3,9 @@
|
|||||||
|
|
||||||
obj-m += ethernet/
|
obj-m += ethernet/
|
||||||
obj-m += tegra_hv_net.o
|
obj-m += tegra_hv_net.o
|
||||||
|
ifdef CONFIG_CAN
|
||||||
obj-m += can/
|
obj-m += can/
|
||||||
|
endif
|
||||||
|
ifdef CONFIG_WLAN
|
||||||
obj-m += wireless/
|
obj-m += wireless/
|
||||||
|
endif
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
#SPDX-License-Identifier: GPL-2.0-only
|
#SPDX-License-Identifier: GPL-2.0-only
|
||||||
#Copyright (c) 2019-2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
#Copyright (c) 2019-2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
|
ifdef CONFIG_PCI
|
||||||
obj-m += pcie/
|
obj-m += pcie/
|
||||||
|
endif
|
||||||
obj-m += nvethernet/
|
obj-m += nvethernet/
|
||||||
|
|||||||
@@ -18,10 +18,14 @@ obj-m += tegra-fsicom.o
|
|||||||
tegra-camera-rtcpu-objs := tegra-camera-rtcpu-base.o rtcpu/tegra-rtcpu-trace.o rtcpu/rtcpu-monitor.o
|
tegra-camera-rtcpu-objs := tegra-camera-rtcpu-base.o rtcpu/tegra-rtcpu-trace.o rtcpu/rtcpu-monitor.o
|
||||||
obj-m += tegra-camera-rtcpu.o
|
obj-m += tegra-camera-rtcpu.o
|
||||||
|
|
||||||
|
ifdef CONFIG_TEGRA_HOST1X
|
||||||
obj-m += cvnas/
|
obj-m += cvnas/
|
||||||
|
endif
|
||||||
obj-m += hwpm/
|
obj-m += hwpm/
|
||||||
obj-m += mce/
|
obj-m += mce/
|
||||||
|
ifdef CONFIG_PERF_EVENTS
|
||||||
obj-m += uncore_pmu/
|
obj-m += uncore_pmu/
|
||||||
|
endif
|
||||||
obj-m += mc-hwpm.o
|
obj-m += mc-hwpm.o
|
||||||
obj-m += mc-utils/
|
obj-m += mc-utils/
|
||||||
obj-m += dce/
|
obj-m += dce/
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
|
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
|
||||||
|
|
||||||
|
ifdef CONFIG_I2C
|
||||||
obj-m += nvvrs-pseq-rtc.o
|
obj-m += nvvrs-pseq-rtc.o
|
||||||
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user