Use DEBUG from common.mk

Allow control of DEBUG flag from a single common location (common.mk)
rather than all over platform specific makefiles.

Signed-off-by: Victor Chong <victor.chong@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
diff --git a/synquacer.mk b/synquacer.mk
index d8652a1..1ade97f 100644
--- a/synquacer.mk
+++ b/synquacer.mk
@@ -8,7 +8,12 @@
 COMPILE_S_USER    ?= 64
 COMPILE_S_KERNEL  ?= 64
 
-DEBUG ?= 0
+################################################################################
+# Includes
+################################################################################
+include common.mk
+include toolchain.mk
+
 ifeq ($(DEBUG),1)
 TFA_BUILD ?= debug
 else
@@ -21,12 +26,6 @@
 endif
 
 ################################################################################
-# Includes
-################################################################################
-include common.mk
-include toolchain.mk
-
-################################################################################
 # Paths to git projects and various binaries
 ################################################################################
 TFA_PATH ?= $(ROOT)/trusted-firmware-a