From: Simon Glass Date: Mon, 14 Mar 2016 01:07:34 +0000 (-0600) Subject: Allow command-line files to be dropped X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=1872c67359ca7940e7442384288279811a9019b2;p=u-boot.git 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 --- 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