summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-04-11 02:01:26 (GMT)
committerTom Rini <trini@ti.com>2014-05-29 21:45:31 (GMT)
commit6493ccc7cf2357081267effffa7d345e50d68d00 (patch)
tree5f66ce6f330164e3ca0663333e867f31f53110e9 /common/Makefile
parent18d66533ac773f59efc93e5c19971fad5e6af82f (diff)
downloadu-boot-fsl-qoriq-6493ccc7cf2357081267effffa7d345e50d68d00.tar.xz
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