mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
nvidia-oot: Fix compilation warning for ack build
Refine the compiler flags for ACK make command and fix compilation warnings from the new command. Bug 4187941 Bug 4223187 Signed-off-by: Jian-Min Liu <jianminl@nvidia.com> Change-Id: Iff7bf5839c585a6c3d3ef6daefb64eb113c739e2 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2954087 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
37cf697fb1
commit
1df2ef7d23
8
Makefile
8
Makefile
@@ -9,6 +9,14 @@ ifeq ($(CONFIG_TEGRA_VIRTUALIZATION),y)
|
||||
subdir-ccflags-y += -DCONFIG_TEGRA_VIRTUALIZATION
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_TEGRA_SYSTEM_TYPE_ACK),y)
|
||||
subdir-ccflags-y += -DNV_BUILD_KERNEL_ACK
|
||||
subdir-ccflags-y += -Wno-sometimes-uninitialized
|
||||
subdir-ccflags-y += -Wno-parentheses-equality
|
||||
subdir-ccflags-y += -Wno-enum-conversion
|
||||
subdir-ccflags-y += -Wno-implicit-fallthrough
|
||||
endif
|
||||
|
||||
obj-m += drivers/
|
||||
|
||||
ifdef CONFIG_SOUND
|
||||
|
||||
@@ -8,6 +8,8 @@ endif
|
||||
obj-m += tegra-se-nvrng.o
|
||||
|
||||
ifdef CONFIG_TEGRA_HOST1X
|
||||
ifneq ($(CONFIG_TEGRA_SYSTEM_TYPE_ACK),y)
|
||||
ccflags-y += -Wframe-larger-than=2560
|
||||
endif
|
||||
obj-m += tegra-nvvse-cryptodev.o
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user