aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/compressed
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-09-04 09:07:41 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2020-09-15 14:35:31 +0100
commit2596a72d338481b49a678ab880338fd5a661e663 (patch)
tree0e6fd57a34004cc84587d38e40928dcd951942f8 /arch/arm/boot/compressed
parentARM: 9008/1: uncompress: Drop excess whitespace print (diff)
downloadlinux-dev-2596a72d338481b49a678ab880338fd5a661e663.tar.xz
linux-dev-2596a72d338481b49a678ab880338fd5a661e663.zip
ARM: 9009/1: uncompress: Enable debug in head.S
The assembly file head.S includes some debug code that does not get enabled when we select CONFIG_DEBUG_UNCOMPRESS. The debug in head.S relies on the user tagging on -DDEBUG on the compilation command line. To simplify debugging, tag on -DDEBUG so that we also get these debug messages when selecting CONFIG_DEBUG_UNCOMPRESS. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/boot/compressed')
-rw-r--r--arch/arm/boot/compressed/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile
index b1147b7f2c8d..77799e5780c2 100644
--- a/arch/arm/boot/compressed/Makefile
+++ b/arch/arm/boot/compressed/Makefile
@@ -12,6 +12,7 @@ HEAD = head.o
OBJS += misc.o decompress.o
ifeq ($(CONFIG_DEBUG_UNCOMPRESS),y)
OBJS += debug.o
+AFLAGS_head.o += -DDEBUG
endif
FONTC = $(srctree)/lib/fonts/font_acorn_8x8.c