diff mbox series

common: build ymodem only on need

Message ID 1518509275-27374-1-git-send-email-jun.nie@linaro.org
State Accepted
Commit fb3148a2302b18860a5141d2d8d500ff7d58c0b8
Headers show
Series common: build ymodem only on need | expand

Commit Message

Jun Nie Feb. 13, 2018, 8:07 a.m. UTC
Build ymodem only on need to shrink spl image size.

Signed-off-by: Jun Nie <jun.nie@linaro.org>
---
 common/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Tom Rini Nov. 10, 2018, 5:42 p.m. UTC | #1
On Tue, Feb 13, 2018 at 04:07:55PM +0800, Jun Nie wrote:

> Build ymodem only on need to shrink spl image size.

> 

> Signed-off-by: Jun Nie <jun.nie@linaro.org>


Applied to u-boot/master, thanks!

-- 
Tom
diff mbox series

Patch

diff --git a/common/Makefile b/common/Makefile
index c7bde23..0614348 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -133,4 +133,5 @@  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