Commit 2596a72d authored by Linus Walleij's avatar Linus Walleij Committed by Russell King

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: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
parent 30d9a34d
...@@ -12,6 +12,7 @@ HEAD = head.o ...@@ -12,6 +12,7 @@ HEAD = head.o
OBJS += misc.o decompress.o OBJS += misc.o decompress.o
ifeq ($(CONFIG_DEBUG_UNCOMPRESS),y) ifeq ($(CONFIG_DEBUG_UNCOMPRESS),y)
OBJS += debug.o OBJS += debug.o
AFLAGS_head.o += -DDEBUG
endif endif
FONTC = $(srctree)/lib/fonts/font_acorn_8x8.c FONTC = $(srctree)/lib/fonts/font_acorn_8x8.c
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment