Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp4882498pjb; Mon, 27 Jul 2020 07:31:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypk1/bUmjWcGPvlpJd/lXTNBfkhucHN82gHsp6oGG0BjGDnrG0WDf+iStyJMq6J/oei2bX X-Received: by 2002:a17:906:3614:: with SMTP id q20mr15600164ejb.142.1595860287463; Mon, 27 Jul 2020 07:31:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595860287; cv=none; d=google.com; s=arc-20160816; b=MMFc2XBYulJ/0FiN/uq8lXR+qrdcH/O7luyMve0rPcR8fkjB6vVeMGObwD3z6lDnsJ PXdiLpMX5RSHveJcXMvGqILny+bFf390HvyPYPUOEFGaEoCxgM/U6YowpU0bub5haruf ZLBve1UqRsOxl9lvfSIjcyroB5h2GASoRby1BSelVsM9L9XrPiREPcw642QoDP+dAs6z oA84CUgS2fr13bz993GuuDKHk79afogDApNN67Jsv9HyI0qYmUeazMJb8rZThhXKGaak sXBt5+AY0qNRqd3Ax3NSCb0PUZU7dJ7uXekFU9d23hTmTfbePuTU+9FE1PhYlp8jnnk9 43TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=oJU4RFIyW4hO4WgWYx6hwic+Wxc39Rn3KYc/gunKoxM=; b=exDKIrV3WmFoMTSNbKfo+vUj7bbCiamCGXNpkgqYCPoRtEPa4DmSRT6JHwSdkl+Aj0 lTWNuXHmH3L4+qknBEd88EUxWuwbXLlJZ0jn6fduvNoQX9MtLJR5rex2MLfAcl7JFUvn 0u5sOnoGpXCsvU2qkwydYJGf32NvLmWaTZq0w8dy6TuqmFjxr9xWrFLlLKKb55a9UaqK 70538qNFkS1koN9GPcZsEupEspMkQm9Rdl+AgJrn98HH6wA/xQNGSFaafMC+7MwBEaWP xZW5zdGl0lp5rgnWcd69RZLui1VVR8R6L1BGh2TTXjWLusxnLudsfIyWj0ms4ck4nOow dayw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lQBFJOiW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n17si5760366ejc.193.2020.07.27.07.31.04; Mon, 27 Jul 2020 07:31:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lQBFJOiW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732039AbgG0O3u (ORCPT + 99 others); Mon, 27 Jul 2020 10:29:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:51884 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731969AbgG0OWv (ORCPT ); Mon, 27 Jul 2020 10:22:51 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 438FC20FC3; Mon, 27 Jul 2020 14:22:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595859770; bh=xpn+nNpgUhBKarM+fQiQTBmJ1lrn02PNKrtmx3CVs5U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lQBFJOiWtX4mo/8bUZOTiA/WaFyvJdlaQL43DFHbYrasRxZlpYzGp8uDMdrA73rOV 5KkuXGM34QV/C1wQ6HKMTiRrU8rEDBFIWNIyG05cJ4xEo3Y/hE/O99yqVw3zCPVaR0 5fZ4KkTS0G9IKkO8J7b7LIDsuXtqEPP2/dWSeskI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Bj=C3=B8rn=20Mork?= , Masahiro Yamada , Sasha Levin Subject: [PATCH 5.7 099/179] kbuild: fix single target builds for external modules Date: Mon, 27 Jul 2020 16:04:34 +0200 Message-Id: <20200727134937.476337129@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200727134932.659499757@linuxfoundation.org> References: <20200727134932.659499757@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Masahiro Yamada [ Upstream commit 20b1be59528295e5c2a8812059b8560753dd8e68 ] Commit f566e1fbadb6 ("kbuild: make multiple directory targets work") broke single target builds for external modules. Fix this. Fixes: f566e1fbadb6 ("kbuild: make multiple directory targets work") Reported-by: Bjørn Mork Signed-off-by: Masahiro Yamada Tested-by: Bjørn Mork Signed-off-by: Sasha Levin --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e622e084e7e26..74056e09f0a30 100644 --- a/Makefile +++ b/Makefile @@ -1730,7 +1730,7 @@ PHONY += descend $(build-dirs) descend: $(build-dirs) $(build-dirs): prepare $(Q)$(MAKE) $(build)=$@ \ - single-build=$(if $(filter-out $@/, $(filter $@/%, $(single-no-ko))),1) \ + single-build=$(if $(filter-out $@/, $(filter $@/%, $(KBUILD_SINGLE_TARGETS))),1) \ need-builtin=1 need-modorder=1 clean-dirs := $(addprefix _clean_, $(clean-dirs)) -- 2.25.1