mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
Add compiler flag to avoid function re-definition
Add CONFIG_TEGRA_VIRTUALIZATION with ack-5.15 build to avoid re-definition symbols when building tegra_hv.ko Bug 4187941 Change-Id: I64eb10264b527d59919fbe781198d227d0a21dda Signed-off-by: Jian-Min Liu <jianminl@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2933664 GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
69b4420809
commit
2cf67077e2
@@ -8,6 +8,10 @@
|
|||||||
LINUX_VERSION := $(shell expr $(VERSION) \* 256 + $(PATCHLEVEL))
|
LINUX_VERSION := $(shell expr $(VERSION) \* 256 + $(PATCHLEVEL))
|
||||||
LINUX_VERSION_6_2 := $(shell expr 6 \* 256 + 2)
|
LINUX_VERSION_6_2 := $(shell expr 6 \* 256 + 2)
|
||||||
|
|
||||||
|
ifneq ($(findstring ack_src,$(NV_BUILD_KERNEL_OPTIONS)),)
|
||||||
|
ccflags-$(CONFIG_TEGRA_VIRTUALIZATION) += -DCONFIG_TEGRA_VIRTUALIZATION
|
||||||
|
endif
|
||||||
|
|
||||||
# tegra_hv is currently broken for Linux v6.2 and so skip for Linux v6.2+
|
# tegra_hv is currently broken for Linux v6.2 and so skip for Linux v6.2+
|
||||||
ifeq ($(shell test $(LINUX_VERSION) -lt $(LINUX_VERSION_6_2); echo $$?),0)
|
ifeq ($(shell test $(LINUX_VERSION) -lt $(LINUX_VERSION_6_2); echo $$?),0)
|
||||||
ifdef CONFIG_TEGRA_VIRTUALIZATION
|
ifdef CONFIG_TEGRA_VIRTUALIZATION
|
||||||
|
|||||||
Reference in New Issue
Block a user