Commit 1872c67359ca7940e7442384288279811a9019b2

Authored by Simon Glass
Committed by Tom Rini
1 parent fb24112c19

Allow command-line files to be dropped

These files do not need to be compiled when CONFIG_CMDLINE is disabled.
Update the Makefile to reflect this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -150,10 +150,10 @@
150 150 endif
151 151  
152 152 # We always have this since drivers/ddr/fs/interactive.c needs it
153   -obj-y += cli_simple.o
  153 +obj-$(CONFIG_CMDLINE) += cli_simple.o
154 154  
155 155 obj-y += cli.o
156   -obj-y += cli_readline.o
  156 +obj-$(CONFIG_CMDLINE) += cli_readline.o
157 157 obj-y += command.o
158 158 obj-y += s_record.o
159 159 obj-y += xyzModem.o