diff options
author | Che-Liang Chiou <clchiou@chromium.org> | 2011-04-14 15:35:21 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-24 10:00:44 -0700 |
commit | 1497584b83dba80ac8369c7c9f7644ba7b3bcc58 (patch) | |
tree | e8fb09b42707165734fe94526a1b15e01110f5fa | |
parent | 494168e45e1a13890cd8bf803718353552caf26f (diff) |
Replace VBOOT_DEBUG with DEBUG
Since even ebuild does not support VBOOT_DEBUG, I think it is better we
simply use DEBUG for enabling debug message.
R=rongchang@chromium.org
BUG=none
TEST=MAKEALL successfully
Review URL: http://codereview.chromium.org/6831012
Change-Id: If5ba48d79e464f695960d5cbfdd1291687bfa81f
-rw-r--r-- | common/cmd_cros_rec.c | 2 | ||||
-rw-r--r-- | config.mk | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/common/cmd_cros_rec.c b/common/cmd_cros_rec.c index 559367bdf08..51437a52d83 100644 --- a/common/cmd_cros_rec.c +++ b/common/cmd_cros_rec.c @@ -33,7 +33,7 @@ DECLARE_GLOBAL_DATA_PTR; #define PREFIX "cros_rec: " -#ifdef VBOOT_DEBUG +#ifdef DEBUG #define WARN_ON_FAILURE(action) do { \ int return_code = (action); \ if (return_code != 0) \ diff --git a/config.mk b/config.mk index a6da1118fb4..a0ee570acd5 100644 --- a/config.mk +++ b/config.mk @@ -175,9 +175,6 @@ endif ifdef VBOOT CPPFLAGS += -I$(VBOOT)/include/vboot endif -ifdef VBOOT_DEBUG -CPPFLAGS += -DVBOOT_DEBUG -endif CPPFLAGS += -I$(TOPDIR)/include CPPFLAGS += -fno-builtin -ffreestanding -nostdinc \ |