From patchwork Thu Nov 23 14:37:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 119523 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp899106qgn; Thu, 23 Nov 2017 06:38:28 -0800 (PST) X-Google-Smtp-Source: AGs4zMYg3l9Wu25WUlaZK26MfyhzU7nefgfzzAvWY3tvnBt+Fo0VcddtBcIxc6xcpnlAt17lJSoF X-Received: by 10.98.224.7 with SMTP id f7mr23231068pfh.177.1511447908572; Thu, 23 Nov 2017 06:38:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511447908; cv=none; d=google.com; s=arc-20160816; b=AX2yqvVwK3owuhpeEwDfPDy0aNAqe4TMmyORE6UvXDRnWpeQCT/orEpdPbl2pmtslI fJ7NjiqFRKahWKCots2iEE1vWZPfrDb0lSKXfj5353g5cjVtfYdt7sHfyaotrSpCuftM XGoc0n6HoGmVkgDy+D5TvdBGZhLLa1mXXW0iFjbqJbo2Nq9pN7jFL6o54w6GZtFjZrRl 20Nd34b/4oxdQGhgZZ9iMGUPLnhCvFBzN+zhcYdCUdD01fAZSzCHKUmpizYRIZEgHESF uiic132zpySDj48+Bwxm878jDdmRMvEO3HMpDNcCqGiw5ihHwaVCU7u7/MZkrthtsKXF aT+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=eT3Q2SgsLlz6As7t/Co2XszVhzlIPmELRUwksgfWcEA=; b=mygcg5biv6dATTS/0jrapcIX4pHMkrp5hbnILkOJaUwrkjemGTPyyGodkxW7ZrKdi7 7Yi7v7GZNE68D6GdBseQxpw82jkgJlSLKRMcsZsT62bHnABTrzj1IZOSBO0QPGPXaAYw I+ApjZjRtLVkW9J5GQKzW0MdKZyrCe4JoqF5LkayaAYnSHbXaK/i7jfJUADYbBLY6BOl h2VbHkVG8HGpOOr0xqPshf9d/7wNDGw306VLvwwojWbBZ/SL8aiOJfEPigtLiS/iS6QW SlWDJcRb2yc8QA4gGc4XoiPMUWvHwib9wkjtW45y4PLi1uQKCis1Su/iiTMmsGYyLiwK GrkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=wJYx1v8k; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f19si15542894plr.246.2017.11.23.06.38.28; Thu, 23 Nov 2017 06:38:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=wJYx1v8k; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753041AbdKWOi0 (ORCPT + 28 others); Thu, 23 Nov 2017 09:38:26 -0500 Received: from conuserg-08.nifty.com ([210.131.2.75]:34272 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752695AbdKWOiW (ORCPT ); Thu, 23 Nov 2017 09:38:22 -0500 Received: from grover.sesame (FL1-125-199-20-195.osk.mesh.ad.jp [125.199.20.195]) (authenticated) by conuserg-08.nifty.com with ESMTP id vANEc4Fr018830; Thu, 23 Nov 2017 23:38:05 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com vANEc4Fr018830 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1511447885; bh=eT3Q2SgsLlz6As7t/Co2XszVhzlIPmELRUwksgfWcEA=; h=From:To:Cc:Subject:Date:From; b=wJYx1v8k3GyUv/ocjhcXP2KNFmHJ4LJke8Uoh0nXNKuzHPnG44azCPaCF224bds8V 1U20CUbF+9flhBWzhVf1a0MieYnIjmZ/8mhekNkYAYSleTQQq9xQJ8ZHQbDgr1Jyra SAUF/hc991hmL38h/Vo8aoHRHxt5IC4VR187G5r5TZ1o+q3otkfiUvDNWEI3LLdiwB LbOEyVGupH3gaIbcICPFU3t9MUpWGYM3rvcvLZOpflePh0cYx06dhcuqfAbwbMCWM3 Ll9hxDLPtymyzutHEz17AfOqFSesVmlwxz/oOOMwQv9Fe95P4YA70Lpl78+UjX8qAA 9DO/Q2Ub2tLdw== X-Nifty-SrcIP: [125.199.20.195] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH] kbuild: drop $(extra-y) from real-objs-y Date: Thu, 23 Nov 2017 23:37:53 +0900 Message-Id: <1511447873-18688-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org $(real-objs-y) in only used in scripts/Makefile.build to form "targets", but $(extra-y) is added to "targets" in another line. We do not need to add $(extra-y) twice. Signed-off-by: Masahiro Yamada --- scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 08eb40a..1ca4dcd 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -57,7 +57,7 @@ multi-objs-m := $(foreach m, $(multi-used-m), $($(m:.o=-objs)) $($(m:.o=-y))) subdir-obj-y := $(filter %/built-in.o, $(obj-y)) # Replace multi-part objects by their individual parts, look at local dir only -real-objs-y := $(foreach m, $(filter-out $(subdir-obj-y), $(obj-y)), $(if $(strip $($(m:.o=-objs)) $($(m:.o=-y))),$($(m:.o=-objs)) $($(m:.o=-y)),$(m))) $(extra-y) +real-objs-y := $(foreach m, $(filter-out $(subdir-obj-y), $(obj-y)), $(if $(strip $($(m:.o=-objs)) $($(m:.o=-y))),$($(m:.o=-objs)) $($(m:.o=-y)),$(m))) real-objs-m := $(foreach m, $(obj-m), $(if $(strip $($(m:.o=-objs)) $($(m:.o=-y)) $($(m:.o=-m))),$($(m:.o=-objs)) $($(m:.o=-y)) $($(m:.o=-m)),$(m))) # DTB