diff options
-rw-r--r-- | common/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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 |