summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-04-10 20:01:26 -0600
committerTom Rini <trini@ti.com>2014-05-29 17:45:31 -0400
commit6493ccc7cf2357081267effffa7d345e50d68d00 (patch)
tree5f66ce6f330164e3ca0663333e867f31f53110e9 /common/Makefile
parent18d66533ac773f59efc93e5c19971fad5e6af82f (diff)
downloadu-boot-imx-6493ccc7cf2357081267effffa7d345e50d68d00.zip
u-boot-imx-6493ccc7cf2357081267effffa7d345e50d68d00.tar.gz
u-boot-imx-6493ccc7cf2357081267effffa7d345e50d68d00.tar.bz2
Split out simple parser and readline into separate files
It doesn't make sense to have the simple parser and the readline code all in main. Split them out into separate files. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/common/Makefile b/common/Makefile
index da184a8..7998325 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -11,7 +11,14 @@ obj-y += main.o
obj-y += command.o
obj-y += exports.o
obj-y += hash.o
-obj-$(CONFIG_SYS_HUSH_PARSER) += cli_hush.o
+ifdef CONFIG_SYS_HUSH_PARSER
+obj-y += cli_hush.o
+endif
+
+# We always have this since drivers/ddr/fs/interactive.c needs it
+obj-y += cli_simple.o
+
+obj-y += cli_readline.o
obj-y += s_record.o
obj-y += xyzModem.o
obj-y += cmd_disk.o