mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
Makefile: Remove CONFIG_TEGRA_GPIO_LEGACY_DISABLE
Remove config CONFIG_TEGRA_GPIO_LEGACY_DISABLE which was added to avoid the build of few modules due to API changes in core kernel from Linux 6.2. ALl modules drivers are updated to support the Linux 6.2 and above. Bug 4346767 Change-Id: I81c56eda77bfb42f56f01216c721f410dac39d77 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3031555 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
f777618023
commit
e290576b47
9
Makefile
9
Makefile
@@ -7,15 +7,6 @@ LINUXINCLUDE += -I$(srctree.nvidia-oot)/include
|
|||||||
subdir-ccflags-y += -Werror
|
subdir-ccflags-y += -Werror
|
||||||
subdir-ccflags-y += -Wmissing-prototypes
|
subdir-ccflags-y += -Wmissing-prototypes
|
||||||
|
|
||||||
LINUX_VERSION := $(shell expr $(VERSION) \* 256 + $(PATCHLEVEL))
|
|
||||||
LINUX_VERSION_6_2 := $(shell expr 6 \* 256 + 2)
|
|
||||||
LINUX_VERSION_6_3 := $(shell expr 6 \* 256 + 3)
|
|
||||||
|
|
||||||
# Legacy GPIO support is removed in Linux v6.3
|
|
||||||
ifeq ($(shell test $(LINUX_VERSION) -ge $(LINUX_VERSION_6_3); echo $$?),0)
|
|
||||||
export CONFIG_TEGRA_GPIO_LEGACY_DISABLE=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