mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
nvidia-oot: enable noble crypto
Enable crypto build with noble Change-Id: Ib4ab440fdd75a3663c717992c3c80eae1fe77f88 Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3011180 Reviewed-by: svcacv <svcacv@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
2a9ce8d0e2
commit
b185ee48be
8
Makefile
8
Makefile
@@ -9,8 +9,6 @@ subdir-ccflags-y += -Werror
|
|||||||
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)
|
||||||
LINUX_VERSION_6_3 := $(shell expr 6 \* 256 + 3)
|
LINUX_VERSION_6_3 := $(shell expr 6 \* 256 + 3)
|
||||||
LINUX_VERSION_6_6 := $(shell expr 6 \* 256 + 6)
|
|
||||||
LINUX_VERSION_6_7 := $(shell expr 6 \* 256 + 7)
|
|
||||||
|
|
||||||
# The Tegra IVC driver was updated to support iosys-map in Linux v6.2.
|
# The Tegra IVC driver was updated to support iosys-map in Linux v6.2.
|
||||||
# For Linux v6.2 kernels, don't build any drivers that requires this.
|
# For Linux v6.2 kernels, don't build any drivers that requires this.
|
||||||
@@ -27,12 +25,6 @@ ifeq ($(shell test $(LINUX_VERSION) -ge $(LINUX_VERSION_6_3); echo $$?),0)
|
|||||||
export CONFIG_TEGRA_GPIO_LEGACY_DISABLE=y
|
export CONFIG_TEGRA_GPIO_LEGACY_DISABLE=y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Changes done in Linux 6.6 onwards
|
|
||||||
ifeq ($(shell test $(LINUX_VERSION) -ge $(LINUX_VERSION_6_6); echo $$?),0)
|
|
||||||
# Crypto driver has major change in it ops, skip it
|
|
||||||
export CONFIG_SKIP_CRYPTO=y
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_TEGRA_VIRTUALIZATION),y)
|
ifeq ($(CONFIG_TEGRA_VIRTUALIZATION),y)
|
||||||
subdir-ccflags-y += -DCONFIG_TEGRA_VIRTUALIZATION
|
subdir-ccflags-y += -DCONFIG_TEGRA_VIRTUALIZATION
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user