mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
Remove CONFIG_TEGRA_VIRTUALIZATION so that virtualization is always enabled for drivers. This permits the same drivers to work on bare-metal Linux machines as well as virtual Linux machines. Bug 5157858 Change-Id: I29d13dae957ed2273b65f95fff0bee1e06f45a27 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3314409 Reviewed-by: Sumit Gupta <sumitg@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Ketan Patil <ketanp@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
# SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
this_makefile_path := $(abspath $(shell dirname $(lastword $(MAKEFILE_LIST))))
|
|
|
|
ifeq ($(CONFIG_TEGRA_KLEAF_BUILD),y)
|
|
include $(this_makefile_path)/Makefile.kleaf
|
|
endif
|
|
|
|
# Include kernel specific config
|
|
ifneq ($(kernel_name),)
|
|
kernel_config := $(this_makefile_path)/configs/Makefile.config.$(kernel_name)
|
|
ifneq ($(wildcard $(kernel_config)),)
|
|
include $(kernel_config)
|
|
endif
|
|
endif
|
|
|
|
# Include system specific config
|
|
ifneq ($(system_type),)
|
|
system_config := $(this_makefile_path)/configs/Makefile.config.$(system_type)
|
|
ifneq ($(wildcard $(system_config)),)
|
|
include $(system_config)
|
|
endif
|
|
endif
|
|
|
|
LINUXINCLUDE += -I$(srctree.nvconftest)
|
|
LINUXINCLUDE += -I$(srctree.nvidia-oot)/include
|
|
|
|
subdir-ccflags-y += -Werror
|
|
subdir-ccflags-y += -Wmissing-prototypes
|
|
|
|
ifeq ($(CONFIG_TEGRA_SYSTEM_TYPE_ACK),y)
|
|
subdir-ccflags-y += -DCONFIG_TEGRA_SYSTEM_TYPE_ACK
|
|
subdir-ccflags-y += -Wno-sometimes-uninitialized
|
|
subdir-ccflags-y += -Wno-parentheses-equality
|
|
subdir-ccflags-y += -Wno-enum-conversion
|
|
subdir-ccflags-y += -Wno-implicit-fallthrough
|
|
endif
|
|
|
|
obj-m += drivers/
|
|
|
|
ifdef CONFIG_SND_SOC
|
|
obj-m += sound/soc/tegra/
|
|
obj-m += sound/tegra-safety-audio/
|
|
obj-m += sound/soc/tegra-virt-alt/
|
|
endif
|