Skip to contentSkip to conversation

xen/arm: early-printk: It should depends on CONFIG_DEBUG and not debug

PATCH In review Julien Grall 2 participants 2 messages Nov 3, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/arm: early-printk: It should depends on CONFIG_DEBUG and not debug

The variable debug is used to enable debug for the tools. As early-printk is for the hypervisor we should use CONFIG_DEBUG.

---
This patch is candidate for Xen 4.8. This is a follow-up of [1].

[1] https://lists.xenproject.org/archives/html/xen-devel/2016-11/msg00082.html

---
 xen/arch/arm/Rules.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
xen/arch/arm/Rules.mk +2 -2
index 93304be..569a0ba 100644
@@ -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.
Signature · 7 lines
1.9.1


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel