mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
gpu: nvgpu: fix the comments in Makefile.shared.configs
List clearly the safety release/debug and regular build profiles while defining the flags. JIRA NVGPU-1949 Change-Id: I259e136e5941602fc263740f0d81384939d7ab11 Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2140630 GVS: Gerrit_Virtual_Submit Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
e364102f9a
commit
fdcc156d8e
@@ -31,16 +31,16 @@
|
|||||||
# profile build.
|
# profile build.
|
||||||
profile := default
|
profile := default
|
||||||
|
|
||||||
# Decide whether to use the safety profile or the regular profile.
|
# Decide whether to use the safety release, safety debug or the regular profile.
|
||||||
ifeq ($(NV_BUILD_CONFIGURATION_IS_SAFETY),1)
|
ifeq ($(NV_BUILD_CONFIGURATION_IS_SAFETY),1)
|
||||||
profile := safety
|
profile := safety_release
|
||||||
ifeq ($(NV_BUILD_CONFIGURATION_IS_DEBUG),1)
|
ifeq ($(NV_BUILD_CONFIGURATION_IS_DEBUG),1)
|
||||||
profile := safety_debug
|
profile := safety_debug
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(NVGPU_FORCE_SAFETY_PROFILE),1)
|
ifeq ($(NVGPU_FORCE_SAFETY_PROFILE),1)
|
||||||
profile := safety
|
profile := safety_release
|
||||||
ifeq ($(NVGPU_FORCE_DEBUG_PROFILE),1)
|
ifeq ($(NVGPU_FORCE_DEBUG_PROFILE),1)
|
||||||
profile := safety_debug
|
profile := safety_debug
|
||||||
endif
|
endif
|
||||||
@@ -103,16 +103,19 @@ CONFIG_NVGPU_COMPRESSION := 1
|
|||||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_COMPRESSION
|
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_COMPRESSION
|
||||||
|
|
||||||
#
|
#
|
||||||
# Flags enabled for only the regular build profile.
|
# Flags enabled only for safety debug and regular build profile.
|
||||||
#
|
#
|
||||||
ifneq ($(profile),safety)
|
ifneq ($(profile),safety_release)
|
||||||
# Enable logging for non-safety and safety-debug builds
|
|
||||||
CONFIG_NVGPU_LOGGING := 1
|
CONFIG_NVGPU_LOGGING := 1
|
||||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_LOGGING
|
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_LOGGING
|
||||||
|
|
||||||
CONFIG_NVGPU_TRACE := 1
|
CONFIG_NVGPU_TRACE := 1
|
||||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_TRACE
|
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_TRACE
|
||||||
|
|
||||||
|
#
|
||||||
|
# Flags enabled only for regular build profile.
|
||||||
|
#
|
||||||
ifneq ($(profile),safety_debug)
|
ifneq ($(profile),safety_debug)
|
||||||
|
|
||||||
# ACR feature to enable old tegra ACR profile support
|
# ACR feature to enable old tegra ACR profile support
|
||||||
|
|||||||
Reference in New Issue
Block a user