summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorChe-Liang Chiou <clchiou@chromium.org>2011-08-11 19:16:20 +0800
committerSimon Glass <sjg@chromium.org>2011-08-29 10:59:28 -0700
commitc3a491a2ba4d15e787c3ce8e8ab54b49d3e6e079 (patch)
treec0891c723aabe0778165fadc47190c9393ed7092 /common/Makefile
parentb1f0f438e3fd22c8c38b9820ea341e17c606ea6a (diff)
CHROMIUM: port test codes to current codebase
The test codes were not compiled because it depended on a prototype codebase which is not used/compiled now. This patch removes the dependency to the prototype codebase and let the test codes be enabled when VBOOT_DEBUG is defined. Because the test codes test GBB loader and we use a static buffer for holding GBB data, this patch also moves the location of GBB buffer to chromeos.h, which is globally accessible. BUG=chromium-os:16542 TEST=run "vboot_test all" and see all tests pass on Kaen TEST=run "vbexpot_test all" and see all tests pass on Kaen Change-Id: I24c7e51cd254f31b4b28fd0becdbc77fb4ede2f8 Reviewed-on: http://gerrit.chromium.org/gerrit/5729 Tested-by: Che-Liang Chiou <clchiou@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/Makefile b/common/Makefile
index 7104a8b57f..71483a7851 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -74,11 +74,11 @@ COBJS-$(CONFIG_CMD_BOOTLDR) += cmd_bootldr.o
COBJS-$(CONFIG_CMD_CACHE) += cmd_cache.o
COBJS-$(CONFIG_CMD_CONSOLE) += cmd_console.o
COBJS-$(CONFIG_CMD_CPLBINFO) += cmd_cplbinfo.o
-COBJS-$(CONFIG_CMD_VBEXPORT_TEST) += cmd_vbexport_test.o
COBJS-$(CONFIG_CMD_VBOOT_BOOTSTUB) += cmd_vboot_bootstub.o
COBJS-$(CONFIG_CMD_VBOOT_MAIN) += cmd_vboot_main.o
-COBJS-$(CONFIG_CMD_VBOOT_TEST) += cmd_vboot_test.o
COBJS-$(CONFIG_CHROMEOS) += cmd_vboot_twostop.o
+COBJS-$(CONFIG_CHROMEOS_TEST) += cmd_vbexport_test.o
+COBJS-$(CONFIG_CHROMEOS_TEST) += cmd_vboot_test.o
COBJS-$(CONFIG_DATAFLASH_MMC_SELECT) += cmd_dataflash_mmc_mux.o
COBJS-$(CONFIG_CMD_DATE) += cmd_date.o
ifdef CONFIG_4xx