Message ID | 20250611202449.2317279-5-ilias.apalodimas@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6000:ecd:b0:3a4:ee3f:8f15 with SMTP id ea13csp2977727wrb; Wed, 11 Jun 2025 13:25:40 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUK0pmtOJe3MewxvrufUo51GOBjg1ra4Z7wFBZeJ6iZ5fOqUf9TE0l82ZmwxR5ahlS1hNlOpQ==@linaro.org X-Google-Smtp-Source: AGHT+IGPAnbYhBOrm6lskIpwiOEurrA64+ED0AHYXxwYUCxC3OV3lU1wspfWkuyjhVvW4HOsr/8y X-Received: by 2002:a05:6402:1812:b0:608:2e97:4399 with SMTP id 4fb4d7f45d1cf-60846ac025fmr3201434a12.4.1749673539806; Wed, 11 Jun 2025 13:25:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1749673539; cv=none; d=google.com; s=arc-20240605; b=N+eYiEXox8uea2ayP4YEZ6kUexdf4eHP3pDr+Sahfvd0VRT2lQjsgtkpHS8O8zPkQ2 noNPO9CVVSbBxjDRhJUOL78/pPV3R+KVPKStji38muHmiSPn0iGHPOk+xBGk1GB1FNMU BELGjW9FZppzHLA0TqQJrTDDypmrmEmYIrhtosdnHUdhYtoAai1MYd0zRnXzMd8d7YfF LZvBG7YWEFSSepBANZzzMEsRx4N0N8pE6czNivpoic+2KdJXLwTbrZ9whFjAz8iTBe7n Eo4esC/WiiH1xdMJlaroLZNQpxQNPV9W5J2n0rIKMli5nrDNmUZ0xIAGc24CMiGfXzIp itSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=VBd5IqOqmVtWiDMTCWjmlUBBf+6RSNiOck8S+u2pwEs=; fh=ZqWD8rBwhVf2d936W4nePpGATkjyZ6s4YHZDlab2xjE=; b=iMBEAHkiWOElUYagvWqBmGS6JDF53f00V9RdJDnppLdf1EXRQYV6CtA6Gb9VBNRkx1 g0WIf3A48Ue5c+1RpANZrcYqZhhkiizXMNU31yy9lr+dOy0n6T05bMVNqkxQYqbr3dQ8 bU58gy9RAXrcs5iqrHRpzbM7yJON138qVwhmny35o8BlBI3NLwukMPSdKvDkZ0otTzwM r4AzYjzdUvHBls8Kg2H6J+bHRUZKnQK4jVykDzy9BvRJD8Af/BVa08Qf+SGyVWfJkL5v ZM3R21c++wo99PA9LKgKkzAbmW96rlBqS7i5pFWd7zoArxD3+OExtY8/V4UgMg58hnL/ FfbA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QWnqxBTw; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-6086b2fb553si102183a12.400.2025.06.11.13.25.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jun 2025 13:25:39 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QWnqxBTw; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E48C382C2F; Wed, 11 Jun 2025 22:25:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="QWnqxBTw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1B6F782B63; Wed, 11 Jun 2025 22:25:05 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3378E82B0F for <u-boot@lists.denx.de>; Wed, 11 Jun 2025 22:25:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-45024721cbdso1507715e9.2 for <u-boot@lists.denx.de>; Wed, 11 Jun 2025 13:25:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1749673503; x=1750278303; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VBd5IqOqmVtWiDMTCWjmlUBBf+6RSNiOck8S+u2pwEs=; b=QWnqxBTw+JtH5SF5PdQMZPsLPGqfFOehLLEy1yxi9ZNjus6cQXRYnwugS7D5deihrR J6oTEz5H4yWv2XGIHB7Hv/Au0T6gvOxmFQKbfyNghZbCIRL7TSvfCVLr6cv9IObNYU/3 gpb2vEoWLcm9B5KQh730hA2IpM3g0UQ1oN6/a+WTkw1F72riIBMj4UjWVNkmw+GDmKsr sSjwO4wHO3jC4WkeYr8kTMY3judZc2+c9ay0TQhfe8x/0ZrCxLGLYTiE5LRU9yScfYDl J7xUh19qzz/XV7+xvPBXQzcxpDAnTIA0/Q5qbYrt9v0WsISyPXdkTEcjefK62ZI75nUi WSEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749673503; x=1750278303; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VBd5IqOqmVtWiDMTCWjmlUBBf+6RSNiOck8S+u2pwEs=; b=V7s/X5Ybb3DkT0/JwNMzhf5Qlzp6BmlhY0WP26NYZ7J4CP+UqiSsHZ7rFMzyuq8N3+ lJAHlM2PmfS8meH8kh2/W3GJrFRYwMG2XyyEK3CaHHxzPifiaHpnie5MWfTQNvCTSG48 Ht+A6du6qzsmJNxwiI6OKY9arX/ZUTi5oSNvyhxXIrWBg5XONDeqq6SXnOejrB6lLk/+ RIfs8TgB0Dv3MvzFHxNBV3Sqs7lt6aIMQxE5rAF9JlwYhloOJZbnb++Pvmhwccsb8slR Ifo2AadfPEyVO48l39CL1TKunOcSk5uaBGCqBTX2z9AICYzxYp26tRFPdQqahpkgFEfI x2jQ== X-Forwarded-Encrypted: i=1; AJvYcCXdklSGuXbEXHXASetXwSc57orKDn6AJlaydIyujNnNIbKnN0lUr2Fi6syw8ZG/JpoW7e25qrM=@lists.denx.de X-Gm-Message-State: AOJu0YwS230OUv3qEsHX3Qgyubhz0HTtb9uXGEF3+ahD7BBgmHaXYVcK 9oGo55vZQmyrKnLw5qlka3Bsxp3lI4H53+zLUfIz0A79ZjGiruon0GG5cX0ZMxQLY7pUWUdmcSm zbxPE X-Gm-Gg: ASbGncvVtBn6DU037nFbGGVQqS/VGSCl3r1eOCXI2+0ssFDit4cdPUJxjvxqWzWOZnh iBBlBnA9sbvxWD22DYwMW2FO/fdI6hkPyBFgoNBj00FMnFkuZHwC52D3VY93ykYdCsCy6VfT4OS c40DaEzW7TJcHdkYbJ2kjGPJ4P8aFYyUS87YDDyKPau31y4uJ0lpwCgxS/7AO2BrS+RPPmpN8K2 7vW2rilzp3/+1/GuAHoTyP8N5x7mxU5QBgU1wurufysL0vSYRFNGrnJRoHqlSJqMUbk8EsPkujs KA7NpZ+ehbcrIKsod4XmKNJAIbDbbpDv1Ax12fhllBzSlZMyElakygUj2oahbwCi1JK2RTRM5bd oEAmTEpKacll0OR5Blcp7E3la/jQcoacPObyCaElH X-Received: by 2002:a05:600c:384a:b0:43d:4686:5cfb with SMTP id 5b1f17b1804b1-453248cc53dmr42321385e9.27.1749673502637; Wed, 11 Jun 2025 13:25:02 -0700 (PDT) Received: from localhost.localdomain (ppp089210105145.access.hol.gr. [89.210.105.145]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a561a3c538sm12071f8f.50.2025.06.11.13.25.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jun 2025 13:25:02 -0700 (PDT) From: Ilias Apalodimas <ilias.apalodimas@linaro.org> To: trini@konsulko.com Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>, Simon Glass <sjg@chromium.org>, Marek Vasut <marek.vasut+renesas@mailbox.org>, Prasad Kummari <prasad.kummari@amd.com>, Michal Simek <michal.simek@amd.com>, Yao Zi <ziyao@disroot.org>, u-boot@lists.denx.de Subject: [PATCH v2 04/13] kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LD Date: Wed, 11 Jun 2025 23:24:31 +0300 Message-ID: <20250611202449.2317279-5-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250611202449.2317279-1-ilias.apalodimas@linaro.org> References: <20250611202449.2317279-1-ilias.apalodimas@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
Update the kbuild system to 5.1
|
expand
|
diff --git a/Makefile b/Makefile index 7e1b36e78b93..e648f4920cfb 100644 --- a/Makefile +++ b/Makefile @@ -446,7 +446,7 @@ ifeq ($(cc-name),clang) ifneq ($(CROSS_COMPILE),) CLANG_TARGET := --target=$(notdir $(CROSS_COMPILE:%-=%)) LDPPFLAGS += $(CLANG_TARGET) -GCC_TOOLCHAIN_DIR := $(dir $(shell which $(LD))) +GCC_TOOLCHAIN_DIR := $(dir $(shell which $(CROSS_COMPILE)elfedit)) CLANG_PREFIX := --prefix=$(GCC_TOOLCHAIN_DIR) GCC_TOOLCHAIN := $(realpath $(GCC_TOOLCHAIN_DIR)/..) endif
Backported from kernel commit ad15006cc784 ("kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LD") Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)