From patchwork Wed Oct 16 05:12:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 176414 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp6863968ill; Tue, 15 Oct 2019 22:12:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTCznA9UJrQLKIcU1Xr3va3/xIlpPwyTvfjFPQzkdvqlpv0eKSa807q2ThHHYqaowhqBhX X-Received: by 2002:aa7:d3ca:: with SMTP id o10mr37587191edr.279.1571202748673; Tue, 15 Oct 2019 22:12:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571202748; cv=none; d=google.com; s=arc-20160816; b=JmVTReSPQyU5RU8KkBRU44X1WPdgnBhus7oVo74RxOTDOped2XNoLkwafHKLB8H6iF GcoRJUXP35+PyVTfwni/ICH61QKFV0Ou3iV8hA+awCYv0E13djBfVrmAoNqjU/8/M+jj +Djnultdy/1i8uyUoHfxa2x1ooYBg9dm9XCD241WPDA48N48YFBV46bqRlm1rhJl+Nld 9WBeSmvNbDS9y42nFmoI4ooRsV6d9RDmocTTz/rvXLjhK5tJCqMI/3VMfs4r3utsonQs uF/9k5Ut5dxqFcVmY97l22Nkjk1ToFdFqmTSoXY9j8SaSQiFeueYUAZjYLUIukxKuzCq Jvgg== 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; bh=XGGz+xUjWyeDryYMzH89z2BDTzgeTfKQG2Zjpz7zMVk=; b=k6KLdjdOHeVDilqG4QwfC4dR83g4f9wOLVO5YNFvhEh8861Vfi+1Qo84jReAaCVQcp gux/52sLML7C7N4jkOrnuM4XHkfnl9E90+oXeNNo37ko84UNZqA1dSU0gPOavnxguCsh voXmjZz68K2EluyrRfomxYs1SRp67lgzJMht0AVrSInX6FE+bTBQ2v9cN6iyLJGbBQQV sPkREfnlk90L0LKkn0xl0CCKwV5Jx+Q5W188iu4ALfjtThH3IsCETc4S5i2ep/S2dylh 7G5hBTE8zcZfLISYWXxORGFbTbTVvAm5BR22b15NQTQ+oGuvoHyA+k8Dod6OCzdmuKIS 62/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=hllW+l4i; 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 gz11si15103890ejb.341.2019.10.15.22.12.28; Tue, 15 Oct 2019 22:12:28 -0700 (PDT) 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=hllW+l4i; 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 S1730100AbfJPFMY (ORCPT + 26 others); Wed, 16 Oct 2019 01:12:24 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:21144 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727484AbfJPFMY (ORCPT ); Wed, 16 Oct 2019 01:12:24 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id x9G5CHcw024780; Wed, 16 Oct 2019 14:12:17 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com x9G5CHcw024780 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1571202738; bh=XGGz+xUjWyeDryYMzH89z2BDTzgeTfKQG2Zjpz7zMVk=; h=From:To:Cc:Subject:Date:From; b=hllW+l4i9OYVhKIeZPqDCMgxTo74hUY/fyzsgBlu8CUf2QqQlKms51NLnil4QFHkO bH9hGtjzFqcFq+Y6EC4kchdV20uOw8+rm+xkf0mBmsMUjOSbXTfI7y3p/N6MSa9vCT p3W3A1CO7McrGmo7ciDob7v0lEFNjuaU2qUtENVY4qSsaI76oqjatiltSUl6xr27ug 9qihZawfftptA2r1FIbhIjV0e4AXstV3+V0zx1pvvaFwzi5APyLnxeG1ymyH8s6eGx yeR+EFVWBrbARx6BDnp2fzn/I4Pu2CHvM3+xGiPuaHtSDvR/4dmI5Mdn32d6zjCUkD 3NdzseBTSd0rA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH] kbuild: remove unneeded variable, single-all Date: Wed, 16 Oct 2019 14:12:15 +0900 Message-Id: <20191016051215.10909-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When single-build is set, everything in $(MAKECMDGOALS) is a single target. You can use $(MAKECMDGOALS) to list out the single targets. Signed-off-by: Masahiro Yamada --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) -- 2.17.1 diff --git a/Makefile b/Makefile index ffd7a912fc46..710199f60c30 100644 --- a/Makefile +++ b/Makefile @@ -1764,11 +1764,9 @@ tools/%: FORCE ifdef single-build -single-all := $(filter $(single-targets), $(MAKECMDGOALS)) - # .ko is special because modpost is needed -single-ko := $(sort $(filter %.ko, $(single-all))) -single-no-ko := $(sort $(patsubst %.ko,%.mod, $(single-all))) +single-ko := $(sort $(filter %.ko, $(MAKECMDGOALS))) +single-no-ko := $(sort $(patsubst %.ko,%.mod, $(MAKECMDGOALS))) $(single-ko): single_modpost @: