summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-11-15 18:43:49 -0700
committerTom Rini <trini@konsulko.com>2018-11-26 08:25:32 -0500
commit4d8d3056f885b518c0d1d0b5a793d9bf4b579496 (patch)
tree538a76ff30da67b8fc6ae0a27e6392f9e732e39c /common/Makefile
parent734e207c5e3ced07f4077ad46460d52912374f2a (diff)
downloadu-boot-4d8d3056f885b518c0d1d0b5a793d9bf4b579496.tar.gz
u-boot-4d8d3056f885b518c0d1d0b5a793d9bf4b579496.tar.bz2
u-boot-4d8d3056f885b518c0d1d0b5a793d9bf4b579496.zip
spl: Add support for logging in SPL and TPL
It is sometimes useful to log information in SPL and TPL. Add support for this. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-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 bbe2a6e239..a1edb7cb17 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -122,8 +122,8 @@ obj-y += cli.o
obj-$(CONFIG_FSL_DDR_INTERACTIVE) += cli_simple.o cli_readline.o
obj-$(CONFIG_DFU_OVER_USB) += dfu.o
obj-y += command.o
-obj-$(CONFIG_$(SPL_)LOG) += log.o
-obj-$(CONFIG_$(SPL_)LOG_CONSOLE) += log_console.o
+obj-$(CONFIG_$(SPL_TPL_)LOG) += log.o
+obj-$(CONFIG_$(SPL_TPL_)LOG_CONSOLE) += log_console.o
obj-y += s_record.o
obj-$(CONFIG_CMD_LOADB) += xyzModem.o
obj-$(CONFIG_$(SPL_TPL_)YMODEM_SUPPORT) += xyzModem.o