mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
Ensure virtualization macro are defined with ACK
The "subdir-ccflags-y += -DCONFIG_TEGRA_VIRTUALIZATION" defined in the top-level Makefile seems to be ineffective in the ACK build, so it is redefined in each local Makefile. Bug 4187941 Change-Id: I47c515a20704736ea44881b65c59639bf8242760 Signed-off-by: Jian-Min Liu <jianminl@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2942314 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Jonathan Hunter <jonathanh@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
8975fb1f4b
commit
9a53ca82d0
@@ -7,4 +7,8 @@
|
|||||||
|
|
||||||
ccflags-y += -I$(PWD)
|
ccflags-y += -I$(PWD)
|
||||||
|
|
||||||
|
ifneq ($(findstring ack_src,$(NV_BUILD_KERNEL_OPTIONS)),)
|
||||||
|
ccflags-$(CONFIG_TEGRA_VIRTUALIZATION) += -DCONFIG_TEGRA_VIRTUALIZATION
|
||||||
|
endif
|
||||||
|
|
||||||
obj-m += nvsciipc.o
|
obj-m += nvsciipc.o
|
||||||
|
|||||||
@@ -7,6 +7,10 @@ subdir-ccflags-y += -Werror
|
|||||||
|
|
||||||
include $(srctree.nvidia-oot)/drivers/video/tegra/nvmap/Makefile.memory.configs
|
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)
|
ifeq ($(NVMAP_CONFIG), y)
|
||||||
# Build NvMap only when NVMAP_CONFIG is set to y
|
# Build NvMap only when NVMAP_CONFIG is set to y
|
||||||
nvmap-y := nvmap_core.o \
|
nvmap-y := nvmap_core.o \
|
||||||
|
|||||||
Reference in New Issue
Block a user