From patchwork Sun Feb 11 09:53:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 127906 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp2214076ljc; Sun, 11 Feb 2018 01:54:03 -0800 (PST) X-Google-Smtp-Source: AH8x225R4XnZW4joke5EZGyPNwiq5Htgftxh5qtDqRYkVWBtKg9me9czegsXbogF8yEdOVWLl5/u X-Received: by 10.80.168.69 with SMTP id j63mr11300080edc.103.1518342843783; Sun, 11 Feb 2018 01:54:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518342843; cv=none; d=google.com; s=arc-20160816; b=CTmNmj2zOfEd9E7ULebPrhaiUbDODv831DPtvzIu9wgjKxvcnBGQMoy6vYDdhxIWBi n1NfTkhaLQCbURjFdSjO7dBMYqXgPxV7k8zjZjWdcOsF72xI22UieAgFDjm8G6pOy8/V HKCs/oQZ/FrfIu21N50Trlr1t3CSjSo725VE6c57+N9ps2nSMOeb+K3X30FsPnJSzpdf 75RJ2RqY8ybg3cV9MySBjXrxE6SlEhWIMheeYS/ATfX2KWYgRMXT8CYAKVlnGNF2x5Rj H2Unb1KjwBntMcxrgccm3CqBpWDS2TByuw2VDYqPHl4BKIZEAEwlqFJkVylHfJ0DBMhy HJjg== 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=pdkUGbPJAFpEryCAhTU0vBh8qksV0DrvQdBX/syo80Y=; b=JckpYrcFAXVZa+fMwjds+0NTNuWwUXTWgVppYALm34snUWxOU6BnhjeAhcNGquiEoE oJLrXhGYrvU1OFONUaSvqc9DIxYBWCk10HsrpHjxonLPHtqdry4veZ1T+2ZF8UkXy85l WXaMjwWrtEShg9TxKkv5uwu0Swqvpc5QF3wkfmAmLLvIhsHc/T+hwrptJfjenozD/iK8 5dZMDzDAkZcBJiVuycCdJFSMQPRSPo7te5lLTbB5Sb15kw5b7fB9J2NJD/kSVsbIb+kA E3edZEjpI+dHpNEgPCOESsjwn4BqjcMjW9jUc1c5IEKqPycjae1ZecywnIiacnVLgoKI /pZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Dmfg4tjM; 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 z16si5183867eda.354.2018.02.11.01.54.02; Sun, 11 Feb 2018 01:54:03 -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=Dmfg4tjM; 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 6D7A2C21F03; Sun, 11 Feb 2018 09:53:59 +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_DNSWL_BLOCKED, 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 CB3EDC21E4C; Sun, 11 Feb 2018 09:53:57 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3A508C21E4C; Sun, 11 Feb 2018 09:53:56 +0000 (UTC) Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by lists.denx.de (Postfix) with ESMTPS id 84EEFC21C4A for ; Sun, 11 Feb 2018 09:53:55 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id m136so5765365pga.12 for ; Sun, 11 Feb 2018 01:53:55 -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=0gzK2n+k9ZCi1Sj4YJaUkZ3SYXctLIe5phjPHIS1rjc=; b=Dmfg4tjMpN67oREe2lwHOLyZQR452v0o2YtiNnOdX1Hqb7gy//qCs7PoDs+2S3CTaX 6DAucHnvbkJcfSYzrKIi3RZj6NUwGUFym1c+99lQT/agqukUp3Txa2TNbcPFFBlOzw1o hX9OJxQItE6WwyvyLQuMP1bvGRo4bZvvGiTFs= 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=0gzK2n+k9ZCi1Sj4YJaUkZ3SYXctLIe5phjPHIS1rjc=; b=EOdkMdWubYApWMmJuLtlEMEm+9KTut56+qcyxdDxareG5UEz+fFFvkG64ydfK50FQM fx8gd4H+UnktfB6qsQ3TrJdnx0efhECQ0KTM0LoXplXz7vlpQLYEM00avUNzPlUPuA5+ +NL1LPfVUHjuTvLm4bKXC3fCPW62xH/fRWoGbOSMGqa8zhQCgMio5+pmEz7IKVYFYz3H ///S+z7t993JCwkSusS7sxP4jWdhuB42YXSh121gp3w4qMDZZHDhgSVkcbyrmL6dmjvF C7WpOpOjP8wNOuuAhSYte4riBoR35PBqXFvoj0ckalTTuKeRMWb3qq9gQmbK4Ed9l33W 5+bg== X-Gm-Message-State: APf1xPDmeDGusIixRnv8ha4K5IzDjAbg2PYoqo2Edk6Ji60GhUqgJb5z pZ2LGEbJe/FnVqsCZwhF1clrGQ== X-Received: by 10.99.122.74 with SMTP id j10mr2508448pgn.84.1518342833495; Sun, 11 Feb 2018 01:53:53 -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 63sm16051583pgi.71.2018.02.11.01.53.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 11 Feb 2018 01:53:51 -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: Sun, 11 Feb 2018 17:53:40 +0800 Message-Id: <1518342820-2970-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 and s_record 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 and s_record only on need to shrink spl image size. Signed-off-by: Jun Nie --- 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