From patchwork Thu Jun 25 06:39:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 1316744 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=siemens.com Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49sr3l2rgHz9s1x for ; Thu, 25 Jun 2020 16:40:01 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4A78C8205C; Thu, 25 Jun 2020 08:39:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=siemens.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 4305181EA2; Thu, 25 Jun 2020 08:39:50 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from goliath.siemens.de (goliath.siemens.de [192.35.17.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E3994801B2 for ; Thu, 25 Jun 2020 08:39:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=siemens.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jan.kiszka@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id 05P6dkRS009988 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 25 Jun 2020 08:39:46 +0200 Received: from [167.87.244.238] ([167.87.244.238]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 05P6djSs013961 for ; Thu, 25 Jun 2020 08:39:46 +0200 From: Jan Kiszka Subject: [PATCH] Makefile: Silence relocate-rela call To: U-Boot Mailing List Message-ID: Date: Thu, 25 Jun 2020 08:39:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 Content-Language: en-US X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean From: Jan Kiszka Signed-off-by: Jan Kiszka --- Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index e3c18d8c39..6d2f5bc091 100644 --- a/Makefile +++ b/Makefile @@ -872,12 +872,14 @@ endif # do the relocation). ifneq ($(CONFIG_STATIC_RELA),) # $(1) is u-boot ELF, $(2) is u-boot bin, $(3) is text base -DO_STATIC_RELA = \ - start=$$($(NM) $(1) | grep __rel_dyn_start | cut -f 1 -d ' '); \ - end=$$($(NM) $(1) | grep __rel_dyn_end | cut -f 1 -d ' '); \ - tools/relocate-rela $(2) $(3) $$start $$end +quiet_cmd_static_rela = RELOC $@ +cmd_static_rela = \ + start=$$($(NM) $(2) | grep __rel_dyn_start | cut -f 1 -d ' '); \ + end=$$($(NM) $(2) | grep __rel_dyn_end | cut -f 1 -d ' '); \ + tools/relocate-rela $(3) $(4) $$start $$end else -DO_STATIC_RELA = +quiet_cmd_static_rela = +cmd_static_rela = endif # Always append ALL so that arch config.mk's can add custom ones @@ -1284,7 +1286,7 @@ endif u-boot-nodtb.bin: u-boot FORCE $(call if_changed,objcopy) - $(call DO_STATIC_RELA,$<,$@,$(CONFIG_SYS_TEXT_BASE)) + $(call cmd,static_rela,$<,$@,$(CONFIG_SYS_TEXT_BASE)) $(BOARD_SIZE_CHECK) u-boot.ldr: u-boot