diff options
author | Varun Wadekar <vwadekar@nvidia.com> | 2017-04-26 13:48:19 -0700 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2017-04-26 13:54:30 -0700 |
commit | 6c16918f7d511d972e32eefd2b442aa5ec6e0f86 (patch) | |
tree | 0aeefdeabd5370212a7578845806396ed8f1bfbd /plat/nvidia | |
parent | 03af25bc9b66ef51ec4c23c77b312391cfd52bbb (diff) |
Tegra: enable 'ENABLE_ASSERTIONS' for all builds
This patch changes the platform Makefile to set `ENABLE_ASSERTIONS` to
1 instead of the deprecated option `ASM_ASSERTION`. This also pulls in
C assertions in release mode.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'plat/nvidia')
-rw-r--r-- | plat/nvidia/tegra/platform.mk | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plat/nvidia/tegra/platform.mk b/plat/nvidia/tegra/platform.mk index 5f7e8c8f..1f7a4dcd 100644 --- a/plat/nvidia/tegra/platform.mk +++ b/plat/nvidia/tegra/platform.mk @@ -30,14 +30,13 @@ SOC_DIR := plat/nvidia/tegra/soc/${TARGET_SOC} -# enable ASM_ASSERTION for the build -ASM_ASSERTION := 1 -$(eval $(call add_define,ASM_ASSERTION)) - # dump the state on crash console CRASH_REPORTING := 1 $(eval $(call add_define,CRASH_REPORTING)) +# enable assert() for release/debug builds +ENABLE_ASSERTIONS := 1 + # Disable the PSCI platform compatibility layer ENABLE_PLAT_COMPAT := 0 |