Revert "Ensure virtualization macro are defined with ACK"

This reverts commit 9a53ca82d0.

The CONFIG_TEGRA_VIRTUALIZATION defined in the top-level Makefile
can be effective in the ACK build after refined make cmd.

Bug 4187941
Bug 4223187

Signed-off-by: Jian-Min Liu <jianminl@nvidia.com>
Change-Id: Ide57f77b6d82770d9a1eeeb91c25e0b34d5911f0
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2954801
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
This commit is contained in:
Jian-Min Liu
2023-08-10 15:22:11 +00:00
committed by mobile promotions
parent 1df2ef7d23
commit f36fdd5baf
2 changed files with 0 additions and 8 deletions

View File

@@ -7,8 +7,4 @@
ccflags-y += -I$(PWD)
ifneq ($(findstring ack_src,$(NV_BUILD_KERNEL_OPTIONS)),)
ccflags-$(CONFIG_TEGRA_VIRTUALIZATION) += -DCONFIG_TEGRA_VIRTUALIZATION
endif
obj-m += nvsciipc.o

View File

@@ -7,10 +7,6 @@ subdir-ccflags-y += -Werror
include $(srctree.nvidia-oot)/drivers/video/tegra/nvmap/Makefile.memory.configs
ifneq ($(findstring ack_src,$(NV_BUILD_KERNEL_OPTIONS)),)
ccflags-$(CONFIG_TEGRA_VIRTUALIZATION) += -DCONFIG_TEGRA_VIRTUALIZATION
endif
ifeq ($(NVMAP_CONFIG), y)
# Build NvMap only when NVMAP_CONFIG is set to y
nvmap-y := nvmap_core.o \