From patchwork Tue Feb 20 17:13:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Elliott Mitchell X-Patchwork-Id: 13566608 Received: from mailhost.m5p.com (mailhost.m5p.com [74.104.188.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A737A35 for ; Wed, 21 Feb 2024 23:24:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.104.188.4 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708557864; cv=none; b=lH21a2J2X2TwndOYea0gxibK9wa0P/WDQ9DUAB8J/MdZdMT9eNwHPNZPdOLTmIlik8vOtz5l85eqw1bbBGOACUfWI6dBlQVVZN67SHokzCwI8uPvzqEaY8o3iV9fsJnYtgs8zBGyWtxhvmnbhj0liNYFo/wXcvxp03R7ER78Y24= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708557864; c=relaxed/simple; bh=b9hFj2LFCfX8y74VxcYrNu/sUD2ncThRizOrIEQfbI0=; h=Message-Id:In-Reply-To:References:From:Date:Subject:To:Cc; b=NoH3vekJ3e/PDzyk+q/MGyHvPtZTHgiZ19plXeD7dXaEayhjUDQQ2JEM2iev2I43Bhh/IpdNdFLhvgQSFapkuoHiBRJEmttzRD7sLaP3mozlZIpvQpJzINdYSLqyQ0FFqqA/sZfxXAvoPcwBcpik+GCxzif+wpL4Az0X9D7htuA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=drgnwing.com; spf=pass smtp.mailfrom=m5p.com; arc=none smtp.client-ip=74.104.188.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=drgnwing.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=m5p.com Received: from m5p.com (mailhost.m5p.com [IPv6:2001:470:1f07:15ff:0:0:0:f7]) by mailhost.m5p.com (8.17.1/8.15.2) with ESMTPS id 41LNHmer041168 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 21 Feb 2024 18:17:54 -0500 (EST) (envelope-from ehem@m5p.com) Received: (from ehem@localhost) by m5p.com (8.17.1/8.15.2/Submit) id 41LNHl3C041167; Wed, 21 Feb 2024 15:17:47 -0800 (PST) (envelope-from ehem) Message-Id: <93f26945aa19bc9f6226d8660fabc91d568fa83e.1708478592.git.ehem+linux@m5p.com> In-Reply-To: References: From: Elliott Mitchell Date: Tue, 20 Feb 2024 09:13:37 -0800 Subject: [PATCH RFC 3/3] build: change $(srctree) to empty for current directory To: masahiroy@kernel.org, nathan@kernel.org, nicolas@fjasle.eu Cc: linux-kbuild@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kbuild@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Split out to highlight the actual changes. This would break things if done in the first commit, so do this as the final step. Signed-off-by: Elliott Mitchell --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3eef5c56f863..edb5d3fceb30 100644 --- a/Makefile +++ b/Makefile @@ -246,7 +246,7 @@ else # need-sub-make ifeq ($(abs_srctree),$(abs_objtree)) # building in the source tree - srctree := ./ + srctree := building_out_of_srctree := else ifeq ($(abs_srctree)/,$(dir $(abs_objtree)))