From patchwork Sun Sep 3 06:17:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 809229 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=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3xlN8b6f9rz9s7f for ; Sun, 3 Sep 2017 16:18:38 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 2F5ADC21D99; Sun, 3 Sep 2017 06:18:26 +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.7 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 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 4021AC21D99; Sun, 3 Sep 2017 06:18:24 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 6A668C21D99; Sun, 3 Sep 2017 06:18:22 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by lists.denx.de (Postfix) with ESMTPS id 15E58C21D7B for ; Sun, 3 Sep 2017 06:18:22 +0000 (UTC) Received: from laptop1.fritz.box ([94.197.120.9]) by mail.gmx.com (mrgmx003 [212.227.17.184]) with ESMTPSA (Nemesis) id 0M4nM5-1dZiZR2Z1Z-00yzSN; Sun, 03 Sep 2017 08:18:09 +0200 From: Heinrich Schuchardt To: Alexander Graf Date: Sun, 3 Sep 2017 08:17:46 +0200 Message-Id: <20170903061746.29129-1-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6Xp N4X37rnShjVW8WvxVLDZsbhjjt98ujUbgqczmNcHzUFlnrwCYbzKAjZ2IRL9AWuFc9ZXjTh73 a+Q5orZOxqirFyFLIvn+c27ZtisyA== Cc: Tom Rini , Mark Kettenis , Andy Shevchenko , Heinrich Schuchardt , u-boot@lists.denx.de Subject: [U-Boot] [PATCH 1/1] scripts/Makefile.lib: remove overridden target $(obj)/helloworld.so: 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" The target $(obj)/helloworld.so: exists twice in Makefile.lib. If you add an echo command to each of the two recipes you get warnings like: scripts/Makefile.lib:383: warning: overriding recipe for target 'drivers/power/battery/helloworld.so' scripts/Makefile.lib:379: warning: ignoring old recipe for target 'drivers/power/battery/helloworld.so' This patch removes the obsolete target. Signed-off-by: Heinrich Schuchardt --- Hello Alex, could you, please, review the change as it relates to EFI. Best regards Heinrich --- scripts/Makefile.lib | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 9ce47b4d22..7f97e8ebf3 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -375,8 +375,6 @@ cmd_efi_ld = $(LD) -nostdlib -znocombreloc -T $(EFI_LDS_PATH) -shared \ EFI_LDS_PATH = $(srctree)/arch/$(ARCH)/lib/$(EFI_LDS) -$(obj)/helloworld.so: $(EFI_LDS_PATH) - $(obj)/helloworld.so: $(obj)/helloworld.o arch/$(ARCH)/lib/$(EFI_CRT0) \ arch/$(ARCH)/lib/$(EFI_RELOC) $(call cmd,efi_ld)