From nobody Wed Apr 1 22:08:22 2026 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (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 7951535E93C for ; Wed, 1 Apr 2026 15:08:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775056112; cv=none; b=jUb2zgkhQfUyUz7NuwnK+IR0U5Uo5Y+FRVJkV1/5uyXbl60ovGX/n2kiSb5bZQL6R3ui5DlxLcXMshYSFIX19GH0lzhTG9DalrxS2xxSMvVOO9LyC+zfsI+Z5z+aHUym40nBEXyWKK8iSKLgLBsJXddhL6iOe0xYSui+zWWOJqk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775056112; c=relaxed/simple; bh=jQPCs5ETLauIZOb8E4dMghD1N1LF3gkALGoz6gNL+hY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uvwAq97Co/azr6EZAmxfTxlD8pPOvwtir7FAq/XwDqufIIIClt4MYx9eoF/Jyq1fHHAHAlPqNsBzrn6phD2WHKhVYFgSxJlQuQk9APEDHgPrje0wfeld6Eq9fCAmgb+8PJnSKuF5LPWaTS/IkFkm0kAHbEh+yHssvML9j1HuA4o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=h6DjQqfq; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="h6DjQqfq" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1775056108; bh=jQPCs5ETLauIZOb8E4dMghD1N1LF3gkALGoz6gNL+hY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=h6DjQqfqjuAND7yaj5UEwySE3/JhVh1dxagB6f8WSSDarxki46mR/ixegSuS77zIn UDn2rsiK37ogk0GnOQtFU6aaezd5DdnManoKcD7fHvS2KWQT5cUf6uLolb85/7wHPs 9uwQArWDPUMlNuaYA84UbSlKymfFfyPpV8tFBxi4= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Wed, 01 Apr 2026 17:08:31 +0200 Subject: [PATCH 4/4] tools/nolibc: explicitly list architecture headers Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260401-nolibc-cleanup-v1-4-bcf4c9f5c1be@weissschuh.net> References: <20260401-nolibc-cleanup-v1-0-bcf4c9f5c1be@weissschuh.net> In-Reply-To: <20260401-nolibc-cleanup-v1-0-bcf4c9f5c1be@weissschuh.net> To: Willy Tarreau Cc: linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.15.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1775056108; l=859; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=jQPCs5ETLauIZOb8E4dMghD1N1LF3gkALGoz6gNL+hY=; b=DHypWkJk0zWWYeCyPuCl5xr0NO/p3w44/THYFttblWN3/dUyZeWicRjmRV9LkGnXOFPcVghs2 uDT/Gy1Th3pADgMwUq9+xGkJd9e2gQVMgc6chZn7lz8rtmk2DziSm0X X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Relying on $(wildcard) is brittle and non-deterministic. Switch the list of architecture headers to an explicit list, similar to all the other headers. Signed-off-by: Thomas Wei=C3=9Fschuh --- tools/include/nolibc/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/include/nolibc/Makefile b/tools/include/nolibc/Makefile index 56343fdbdb2f..cb483128e62a 100644 --- a/tools/include/nolibc/Makefile +++ b/tools/include/nolibc/Makefile @@ -17,7 +17,8 @@ endif # it defaults to this nolibc directory. OUTPUT ?=3D $(CURDIR)/ =20 -arch_files :=3D arch.h $(wildcard arch-*.h) +architectures :=3D arm arm64 loongarch m68k mips powerpc riscv s390 sh spa= rc x86 +arch_files :=3D arch.h $(addsuffix .h, $(addprefix arch-, $(architectures)= )) all_files :=3D \ compiler.h \ crt.h \ --=20 2.53.0