From: Jun Nie Date: Tue, 13 Feb 2018 08:07:55 +0000 (+0800) Subject: common: build ymodem only on need X-Git-Tag: v2025.01-rc5-pxa1908~3287 X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=fb3148a2302b18860a5141d2d8d500ff7d58c0b8;p=u-boot.git common: build ymodem only on need Build ymodem only on need to shrink spl image size. Signed-off-by: Jun Nie --- diff --git a/common/Makefile b/common/Makefile index 7473b85011..a2388364d9 100644 --- a/common/Makefile +++ b/common/Makefile @@ -121,6 +121,7 @@ obj-y += command.o obj-$(CONFIG_$(SPL_)LOG) += log.o obj-$(CONFIG_$(SPL_)LOG_CONSOLE) += log_console.o obj-y += s_record.o -obj-y += xyzModem.o +obj-$(CONFIG_CMD_LOADB) += xyzModem.o +obj-$(CONFIG_$(SPL_TPL_)YMODEM_SUPPORT) += xyzModem.o obj-$(CONFIG_AVB_VERIFY) += avb_verify.o