From patchwork Tue Feb 13 08:07:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 128204 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp4005131ljc; Tue, 13 Feb 2018 00:08:18 -0800 (PST) X-Google-Smtp-Source: AH8x224sMtFm4OmMZaCJu5uHHlTiMlT96m/PAAek+L2Q41/YOhAD91eYcoFOpKyql4Z091GNWqG5 X-Received: by 10.80.179.200 with SMTP id t8mr1010016edd.81.1518509298057; Tue, 13 Feb 2018 00:08:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518509298; cv=none; d=google.com; s=arc-20160816; b=QoaCuBpsAc3EIbYR4XZglLEeg+AeAuC4F4ZVXROGslLJA3S49YltTP708jU/MSICyE RkKzfE+dLP4Gg7ozlQ0dtUQW6CEAvBWCa7VafwlQYq3OZ2wdNjwTa65zCwme2BZDllnz fTnbb4ufO8vmrhhp8D/jNYGkxE3WosfRIO3ssrGZDx5YiMlBxSTmh6yBD6HoYE7x5pTc Q6P7gHwXZYXDhZqMfFRgac+NpGc8Tp1pttVHwqNhMyRLL+WWNbZl2GHNxw5WBfOdFJad yeMPby2rIg+Pxl2UTPyffWDL9cImw23vfE+XM1ZSMqzbFskCBXmFTXuwjZECpIq9Lfcz EPZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=wOYgpEXMhZH01O/WamHLBEpTAcHH3n2odxeKHRCkUB8=; b=ZnGbXsY29wjJ7tNHuTlYRMJE40/gAZyWRIW3RFwygGoHxIHtesrR8wtKuBL+o+QC5s 5HtYPponMvMrMp1WtLDo294GAhnd0sQFphlybMhOtQ5VJgbAO7I2Ox9VlGRS+kQ7d80R Vvj5CabHIW4grdQJZ6A89W4fcq70cS6pMTm2IvlHpNxk40FQCaamctyGM0nNSlfsUtJS myCbWjx1fKbilPoLWEGz8hittkIT+pm83W+kw7CpeMkaAGX6q7BMQc4M9fhaVgRMICas ty2Nh1S7X+cqDrba+EUooL9E/bJ+Jo6xyn4Cu781hm0HmcimOUZCdaVXZBp3WOqo5yy/ pJww== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=VFxQGkrx; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id h58si2799491edh.149.2018.02.13.00.08.17; Tue, 13 Feb 2018 00:08:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=VFxQGkrx; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id A3466C21F48; Tue, 13 Feb 2018 08:08:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 4C4BFC21EE7; Tue, 13 Feb 2018 08:08:13 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 0FD82C21F07; Tue, 13 Feb 2018 08:08:11 +0000 (UTC) Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by lists.denx.de (Postfix) with ESMTPS id 289F0C21EE7 for ; Tue, 13 Feb 2018 08:08:11 +0000 (UTC) Received: by mail-pl0-f67.google.com with SMTP id k8so6282437pli.8 for ; Tue, 13 Feb 2018 00:08:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=xKBaILgj1fphXtNdXwiz9GL/nb5VQo0d/o7aZkjjlrs=; b=VFxQGkrx2YgvTBw6M64d2dH+ean3hrwYKTubZFH2xgw5pv733PJg463PsshFG46kKh 9+v4dhg9Z+V7ZLcGhdiedQd9Mcf0+vNsCqBT2ILnDx6IpsUSnfTXebY8vRw/oWSjdezA ghuOTWjBFWgRNAhEVGjIwQS0JG2p1MxV0ApVU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xKBaILgj1fphXtNdXwiz9GL/nb5VQo0d/o7aZkjjlrs=; b=kPeRmHIVttB+d4j6n5ACAS/+GnF4wWKmPC4uf6EC6FnbE+oN5VIKOGufHAZIgVd7Hl iCAZLrXrqb790/l74VKzLpYkoYJmsIQ2AFvCho1HI4uJFllYiNXQ9vrtmjW2oYKhjmbL qOf1LlNAFfspnNQ2S80f6CelGTu4pOFOkmGRAXJyUBlgLMhr9nXV3SFmiGJpdvemx1oR FZyyUupGo/+LCAMMWyxbuDlPv9F/2mlAY1tOa720zojRHbhOUmM4mYX8EBC0Kd3MFE2t ipZvncdJy3abg7y694/SE0qixTwDkOoyvXOcVJZAd65WXmOBAWOTzYnymNglVBh7RYL6 /g4g== X-Gm-Message-State: APf1xPD4FwAI+RLBLRleIQLNbgnDJlfwyZQg7v3uTAc0mPo5jfKTf3m4 hDLpxt6Yiruxfc/7n9MMWWVsCg== X-Received: by 2002:a17:902:203:: with SMTP id 3-v6mr350931plc.413.1518509289499; Tue, 13 Feb 2018 00:08:09 -0800 (PST) Received: from localhost.localdomain (61-216-91-114.HINET-IP.hinet.net. [61.216.91.114]) by smtp.gmail.com with ESMTPSA id s26sm492198pfm.93.2018.02.13.00.08.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 13 Feb 2018 00:08:08 -0800 (PST) From: Jun Nie To: sjg@chromium.org, andre.przywara@arm.com, jh80.chung@samsung.com, trini@konsulko.com, andy.yan@rock-chips.com Date: Tue, 13 Feb 2018 16:07:55 +0800 Message-Id: <1518509275-27374-1-git-send-email-jun.nie@linaro.org> X-Mailer: git-send-email 1.9.1 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH] common: build ymodem only on need X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Build ymodem only on need to shrink spl image size. Signed-off-by: Jun Nie --- common/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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