Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp68258rdb; Fri, 16 Feb 2024 21:55:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX/yWo0UYKiY5CYDGn86WKLE5jowGByat/lHoplq+YysvFD4cHgpZpI8hXAAWIW5fShECXo3wJ8A9f418co0f+AYH+E1cU0FwAKbUfmlg== X-Google-Smtp-Source: AGHT+IH9F6CruXe5KmMmmpPZo8krCHl57BreVafMb/xvEQSaEY0Voxai56tl87fjxvARopZSVx/b X-Received: by 2002:a05:620a:29c1:b0:787:4664:74f9 with SMTP id s1-20020a05620a29c100b00787466474f9mr3751232qkp.46.1708149336296; Fri, 16 Feb 2024 21:55:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708149336; cv=pass; d=google.com; s=arc-20160816; b=OekWgvUJ+Nk8M4ByFeosbat1r0sd/8lB9jPnFZqHAqecCm2BR7vCyxP1z2PQn0QMJb uNxBQSjLWBscq9lwUFJOl+l3yHeg44Z73zhKdRyWF0T55wGvPRAjZh1Xj2QikHvy/iSD Lgz9X5fPpCQcjW9q7LIwmTm1qlHGXmewZjw0OA0ho78eOX8hQU/wG+2qKh3Z0O5+yCpt oP6EKL3APCcHC1F94BWtboCwSxQKECUm0Liw+R5FmjB1e/heWW2hvT0xsle8z+/TLq/a Hd/xCHkd0T+C9Na9/Hfau3JExjVLNJgwxO5waDlTm4f5CLQxqPJpq3hqtlASApf/G91X Mw7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Orc6EXcB/Pb+sv5sGv+BHUs758u9209SSLVv7GgCFo4=; fh=iJuIpJBHEcgPRPi7glJXtqQesQubWKTFhpQuYX4gEPg=; b=ni/xMO5kmnkFZGqsx5h5xNg8vHIVLaK4t2hCA4J9jodV1kKw9k+ZnDxMcV8Y8dpu1z yKHHwgluqmx2HaUQq7MK+y5WZzhUSbpJY2Q8TftOHll09sdXx1QpGgJIw1CBrszq1H+F FVmyfqsTZxN8Uarzq/VmdpLrfxqK5ARIUUn+QCQGq4bRBN3RkFfFDwbOaX0SXBxnDaHV HSy/O41VOQ4x0WszpZI2FbTVQrgq2BlpT+ZDTpXDr94yiXTtFc3k4z28E7YkChWSdXwy q2N48NZ7EqimvH2tL25oKl9OFsz10uSNz+ZdBUCZY8ocE/rr5FxgY9/YHgAR3tuRykNp Hvug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=trsTAFym; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-69697-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69697-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s13-20020a05620a29cd00b007875238b58csi558836qkp.432.2024.02.16.21.55.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 21:55:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69697-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=trsTAFym; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-69697-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69697-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 122011C21160 for ; Sat, 17 Feb 2024 05:55:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A53701CD1E; Sat, 17 Feb 2024 05:55:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="trsTAFym" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C56FD1CD0A; Sat, 17 Feb 2024 05:55:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708149313; cv=none; b=nfyvF2Yp0JnpPtRa6gqBZehFlb0D1FKXmKCA0hlXO12O63uB2P4k04p2OlTjVjjEN7EjmvBE9I0YkjorOPafadOMIAthx3NdMDZc3kE+90Iqi1Kpp3pnhy1bZVx5QBf61DzOLsmhmXZ9uzPoct2AU3isp0TP67YzEqexipmlwx4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708149313; c=relaxed/simple; bh=Ear6O+72d1ABDax2WCP/0I/ogBxwZJuvcTt9vAe3Ybc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=WCBQNa3IJwV7FhsDEog9QLm4n6W4fwujxK5Xv0sPC4yVDCyXNzUZThaNoNYk2Gh9Vsr4uBEvMmJCIdcNZOXlmtpVKCM+MrHGxpbZdN9Br4+fqG6bNH8bw0IjQ9PS/Ylqz8i6sM7/6hO62uTiFgKV2vEYaafOn9C1nTvcQqGB9jQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=trsTAFym; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 024FEC433C7; Sat, 17 Feb 2024 05:55:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708149313; bh=Ear6O+72d1ABDax2WCP/0I/ogBxwZJuvcTt9vAe3Ybc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=trsTAFymcnJ+cLIqtPon8OGRgd5rGz1eElds51+gjS3vOc3KHa2i3Yl4gaQgF7f4Z 6QEGkpHgErBUIBS63eMzVJWS5bYq2sOewfdcV3RkE7vI/IdjxPmoh9uyx6Zdbf4owx AsUq8tmZ4eSSaqetbvAdKJaH3bMoXfocDszFR3TAe6TT6AikDTduADqV6zEOIvrvLf 5DnjYUNUjkx2PKHU5EY5uuE3utm5yIAJoSmG3yBrkXdU+fqsAIuTGC9iAhu6aHmUIL 6dslWxdFvTf1VgTWeDUmfKOPrWZ8fzNXSklcYlSxwt8ThSrdiI6xYhpsmCucEzdTpX PSvGSmNvmBBwQ== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Nathan Chancellor , Nicolas Schier , linux-kernel@vger.kernel.org Subject: [PATCH 2/2] kbuild: change DTC_FLAGS_.o to take the path relative to $(obj) Date: Sat, 17 Feb 2024 14:55:04 +0900 Message-Id: <20240217055504.2059803-2-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240217055504.2059803-1-masahiroy@kernel.org> References: <20240217055504.2059803-1-masahiroy@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit For the same rationale as commit 54b8ae66ae1a ("kbuild: change *FLAGS_.o to take the path relative to $(obj)"). Signed-off-by: Masahiro Yamada --- scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 328c0d77ed48..56f7fe2b476d 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -368,7 +368,7 @@ DTC_FLAGS += -Wnode_name_chars_strict \ -Wunique_unit_address endif -DTC_FLAGS += $(DTC_FLAGS_$(basetarget)) +DTC_FLAGS += $(DTC_FLAGS_$(target-stem)) # Set -@ if the target is a base DTB that overlay is applied onto DTC_FLAGS += $(if $(filter $(patsubst $(obj)/%,%,$@), $(base-dtb-y)), -@) -- 2.40.1