]> xenbits.xensource.com Git - xen.git/commitdiff
xen/arm: early-printk: It should depends on CONFIG_DEBUG and not debug
authorJulien Grall <julien.grall@arm.com>
Thu, 3 Nov 2016 14:36:35 +0000 (14:36 +0000)
committerWei Liu <wei.liu2@citrix.com>
Thu, 3 Nov 2016 15:02:38 +0000 (15:02 +0000)
The variable debug is used to enable debug for the tools. As
early-printk is for the hypervisor we should use CONFIG_DEBUG.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/arm/Rules.mk

index 93304be302a735e09c1ddea484b6dcb20e96dead..569a0badc8b00983a186d7b198fd60e21150d383 100644 (file)
@@ -24,7 +24,7 @@ endif
 
 EARLY_PRINTK := n
 
-ifeq ($(debug),y)
+ifeq ($(CONFIG_DEBUG),y)
 
 # See docs/misc/arm/early-printk.txt for syntax
 
@@ -77,7 +77,7 @@ CFLAGS-$(EARLY_PRINTK) += -DEARLY_PRINTK_BAUD=$(EARLY_PRINTK_BAUD)
 CFLAGS-$(EARLY_PRINTK) += -DEARLY_UART_BASE_ADDRESS=$(EARLY_UART_BASE_ADDRESS)
 CFLAGS-$(EARLY_PRINTK) += -DEARLY_UART_REG_SHIFT=$(EARLY_UART_REG_SHIFT)
 
-else # !debug
+else # !CONFIG_DEBUG
 
 ifneq ($(CONFIG_EARLY_PRINTK),)
 # Early printk is dependant on a debug build.