From 1872c67359ca7940e7442384288279811a9019b2 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 13 Mar 2016 19:07:34 -0600 Subject: 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 Reviewed-by: Tom Rini --- common/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/Makefile b/common/Makefile index c96442bf95..9a4b8172f3 100644 --- a/common/Makefile +++ b/common/Makefile @@ -150,10 +150,10 @@ endif endif # We always have this since drivers/ddr/fs/interactive.c needs it -obj-y += cli_simple.o +obj-$(CONFIG_CMDLINE) += cli_simple.o obj-y += cli.o -obj-y += cli_readline.o +obj-$(CONFIG_CMDLINE) += cli_readline.o obj-y += command.o obj-y += s_record.o obj-y += xyzModem.o -- cgit v1.2.1