[U-Boot] [PATCH] common: build ymodem and s_record only on need
Jun Nie
jun.nie at linaro.org
Sun Feb 11 09:53:40 UTC 2018
Build ymodem and s_record only on need to shrink
spl image size.
Signed-off-by: Jun Nie <jun.nie at linaro.org>
---
common/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/Makefile b/common/Makefile
index c7bde23..8e1569f 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -28,6 +28,8 @@ obj-$(CONFIG_DISPLAY_BOARDINFO_LATE) += board_info.o
obj-$(CONFIG_CMD_BOOTM) += bootm.o bootm_os.o
obj-$(CONFIG_CMD_BOOTZ) += bootm.o bootm_os.o
obj-$(CONFIG_CMD_BOOTI) += bootm.o bootm_os.o
+obj-$(CONFIG_CMD_LOADS) += s_record.o
+obj-$(CONFIG_CMD_LOADB) += xyzModem.o
obj-$(CONFIG_CMD_BEDBUG) += bedbug.o
obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += fdt_support.o
@@ -132,5 +134,3 @@ obj-$(CONFIG_CMD_DFU) += dfu.o
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
--
1.9.1
More information about the U-Boot
mailing list