From 5f70d8de5b696a7b21284d96839caa981c8fdf30 Mon Sep 17 00:00:00 2001 From: Matt Ma Date: Wed, 22 Nov 2017 19:31:28 +0800 Subject: Replace macro ASM_ASSERTION with macro ENABLE_ASSERTIONS This patch replaces the macro ASM_ASSERTION with the macro ENABLE_ASSERTIONS in ARM Cortex-A53/57/72 MPCore Processor related files. There is build error when ASM_ASSERTION is set to 1 and ENABLE_ASSERTIONS is set to 0 because function asm_assert in common/aarch32/debug.S is defined in the macro ENABLE_ASSERTIONS but is called with the macro ASM_ASSERTION. There is also the indication to use ENABLE_ASSERTIONS but not ASM_ASSERTION in the Makefile. Signed-off-by: Matt Ma --- make_helpers/defaults.mk | 3 --- 1 file changed, 3 deletions(-) (limited to 'make_helpers/defaults.mk') diff --git a/make_helpers/defaults.mk b/make_helpers/defaults.mk index 660e54e7..e0d822df 100644 --- a/make_helpers/defaults.mk +++ b/make_helpers/defaults.mk @@ -24,9 +24,6 @@ ARM_ARCH_MINOR := 0 # in EL3. The platform port can change this value if needed. ARM_GIC_ARCH := 2 -# Flag used to indicate if ASM_ASSERTION should be enabled for the build. -ASM_ASSERTION := 0 - # Base commit to perform code check on BASE_COMMIT := origin/master -- cgit v1.2.3