diff options
author | Bill Richardson <wfrichar@chromium.org> | 2013-07-25 11:21:30 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-07-25 15:50:12 -0700 |
commit | 4231660869f6b282c5a589abb22e98681c052929 (patch) | |
tree | f04ebd59bf0a53d70107e9564115600a169ec2df /board/host/board.h | |
parent | 1960b9f9575e3c8cb5eee999b56cdb8a558e7afc (diff) | |
download | chrome-ec-4231660869f6b282c5a589abb22e98681c052929.tar.gz |
Change macro names used for test configurations
We can't change CONFIG_ options from the gcc commandline, because
include/configs.h explicitly undefs them again. So for some tests, we add a
-DFOO to the command line and then put this in the source:
This change just uses TEST_FOO instead of FOO, so it's more obvious what's
happening.
BUG=chrome-os-partner:20739
BRANCH=falco,peppy
TEST=manual
No functional change, just renaming. Run
make BOARD=${BOARD} runtests
Everything should still pass.
Change-Id: I17e10180f8d779dff0961cf411f5b61cfc70c316
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/63371
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'board/host/board.h')
-rw-r--r-- | board/host/board.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/host/board.h b/board/host/board.h index ad553b0c02..fe0d29e069 100644 --- a/board/host/board.h +++ b/board/host/board.h @@ -16,14 +16,14 @@ #undef CONFIG_WATCHDOG /* Host test config */ -#ifdef SMART_BATTERY_CHARGER +#ifdef TEST_SMART_BATTERY_CHARGER #define CONFIG_BATTERY_MOCK #define CONFIG_CHARGER #define CONFIG_CHARGER_INPUT_CURRENT 4032 #endif /* Keyboard protocol */ -#ifdef KB_8042 +#ifdef TEST_KB_8042 #define CONFIG_KEYBOARD_PROTOCOL_8042 #else #define CONFIG_KEYBOARD_PROTOCOL_MKBP |