diff options
author | Che-Liang Chiou <clchiou@chromium.org> | 2011-05-25 16:19:58 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-29 10:39:23 -0700 |
commit | 900d20a8d6d5da9d84835ff16c4689f42379e8ee (patch) | |
tree | 39d23497f007b73ef993d3551ff2596e3ffeddc8 /config.mk | |
parent | 7cdac50783854ed3d3b15179e6d8f2e1512765d6 (diff) |
can separately enable vboot-related debug output
U-Boot debug output is very verbose, and sometimes does not help
debugging verified boot related changes. This commit let us enable
vboot-related debug output separately.
BUG=chromium-os:15747
TEST=boot and see vboot-related debug output
Cherry-pick: 84c65f7
Change-Id: I934d46654777347f09d9d3d71c55b3e478fd02c6
Reviewed-on: http://gerrit.chromium.org/gerrit/1532
Tested-by: Che-Liang Chiou <clchiou@chromium.org>
Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org>
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config.mk b/config.mk index 7faaeab49bd..4d035177ee5 100644 --- a/config.mk +++ b/config.mk @@ -155,6 +155,17 @@ RELFLAGS= $(PLATFORM_RELFLAGS) DBGFLAGS= -g # -DDEBUG OPTFLAGS= -Os #-fomit-frame-pointer +ifdef VBOOT_DEBUG +DBGFLAGS += -DVBOOT_DEBUG +endif +ifndef LDSCRIPT +#LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds.debug +ifeq ($(CONFIG_NAND_U_BOOT),y) +LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds +else +LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds +endif +endif OBJCFLAGS += --gap-fill=0xff gccincdir := $(shell $(CC) -print-file-name=include) |