From nobody Wed Apr 1 20:40:52 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 6C61A35FF75 for ; Wed, 1 Apr 2026 15:08:31 +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=p7aapt1BcV8hjTaDVLv9C8e6CIMQdROWkYueLBoPj5PNiZK0S0eskxjInlWaCkK6Kd4LN/r2bbxqGECuEfQ26RJyttQcOpFxAv4w9e9M5qHXOkCFCCl3j5Yr/Byur35QroY08ogryPwamvbhtwvKNRaYQlkVnaMnkquPHkTEXR4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775056112; c=relaxed/simple; bh=cKgA3Nazxw86mbZ6gipmRoofWhwUD15eiiMcSFaaucE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nmpIs5yFBielf4k+UvNeZNxCt3MHb7dK7PaU89SuqWwIk5QGo8d0l49obcfePYdxT3nqnK8AvySY3sbDPn8K21vD1JFCOIKeBQaz9gM1IEgybCJ1tUkBi7CFofFNwEbav0xxiyW0vdE5ga++pDYDsHkvapsFMSyZFJigYbEepfE= 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=OmmX/6iI; 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="OmmX/6iI" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1775056108; bh=cKgA3Nazxw86mbZ6gipmRoofWhwUD15eiiMcSFaaucE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=OmmX/6iIK7l1aQ8X/vIOOvKKF8cAPGejE2IyHxw+RQk6VDJyJaapHJm0RLM1RhpvI mJYhrP9v6ZUspxJh4278hg6Qqn8xbvPy0Ax+dH5ovFMr0+0h3L24VraZ5R2XLz6n7u QxiaoTWjD6jlH2L2zpwFVbejJ58/G+xXZe0LergE= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Wed, 01 Apr 2026 17:08:28 +0200 Subject: [PATCH 1/4] tools/nolibc: drop superfluous invocation of 'make 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-1-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=776; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=cKgA3Nazxw86mbZ6gipmRoofWhwUD15eiiMcSFaaucE=; b=BmK3l1lJpK+9Jd88K9fmeCQ6EW5Akoa3mi3abk4EZ9yZCkB7F2flvvI+6XD73X7THn32BTSRc OrU4PzdaDCoCURtgzYhxTwM65WZe/uja55sCaMFkEPq7ocP6DT5SsK5 X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= The headers_install target of the toplevel Makefile will already make sure that the headers are up-to-date. Drop the superfluous explicit invocation. Signed-off-by: Thomas Wei=C3=9Fschuh --- tools/include/nolibc/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/include/nolibc/Makefile b/tools/include/nolibc/Makefile index e3a2ec9b2e43..47ba2bde6d44 100644 --- a/tools/include/nolibc/Makefile +++ b/tools/include/nolibc/Makefile @@ -102,7 +102,6 @@ headers: $(Q)cp --parents $(arch_files) $(all_files) "$(OUTPUT)sysroot/include/" =20 headers_standalone: headers - $(Q)$(MAKE) -C $(srctree) headers $(Q)$(MAKE) -C $(srctree) headers_install INSTALL_HDR_PATH=3D$(OUTPUT)sys= root =20 CFLAGS_s390 :=3D -m64 --=20 2.53.0 From nobody Wed Apr 1 20:40:52 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 793D5331222 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=1775056111; cv=none; b=Vcj0yZTHk0eomRTSPrQ7a5wYev/iNOFmAsBQI+BRmLiaYVJwTx73GkokgORyC6Cp87zsShHhHAx7YakCofagUk3YTF+UzMgcTzzDNzKsXxeVTOx2i28vt+vyZfRYFKQyezhpEGA5dKM3B+7VPy9bMBhMPZL75boFfELrJa/elXk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775056111; c=relaxed/simple; bh=Ywfjgs9/KGcrE7qVyfErwLt6YhtPSplxbn5XBuSMr84=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=n9O09U+j7EFJ9baVYSL+eTQR63KV25GMubLIKZNuEmBoYX4njM0ZqvXXBFtcnjdYe5j92tmBasEmL/ioHOgmdxDNqbOml0N3Stxgu3mcuTHgJjqFJKkTm8TW17HD7xZtPVbX5MqabY9mJdgN/i5Rst+UYBXASmYlYBzHf19RWJo= 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=duFHDzhF; 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="duFHDzhF" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1775056108; bh=Ywfjgs9/KGcrE7qVyfErwLt6YhtPSplxbn5XBuSMr84=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=duFHDzhFQWl3d43Tftm+z2TJh1pdK0etXCy9xAj+q0vkvQdIkpbuDg5YLr1sCPEzO vNw4Mrfp9j+jy8EZHKhq5o1Dcy7IVSmYndmBTsqUbyWip7F/EB6VD4R0vtFNy7ArJk E/ughvVCzg4fG3QC+0M9pMS6PgCQHxY+O50Fj9F8= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Wed, 01 Apr 2026 17:08:29 +0200 Subject: [PATCH 2/4] tools/nolibc: drop superfluous invocation of mkdir 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-2-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=725; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=Ywfjgs9/KGcrE7qVyfErwLt6YhtPSplxbn5XBuSMr84=; b=j7yUx4cyMbAEJBJFwB+ZwSBExAeFUYG/V2cWbNshemh0lJUN6pv8KoCbx9oQCuEM0tVt6EhnT gCuINdaipukDjDrdALmFwDSOzd+5PJzyXcCR4TT/geyqoo3rRF2ZIc7 X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= The call to 'mkdir -p $(OUTPUT)sysroot/include' will also create the sysroot directory. Drop the unnecessary explicit invocation of mkdir. Signed-off-by: Thomas Wei=C3=9Fschuh --- tools/include/nolibc/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/include/nolibc/Makefile b/tools/include/nolibc/Makefile index 47ba2bde6d44..df9304e6d818 100644 --- a/tools/include/nolibc/Makefile +++ b/tools/include/nolibc/Makefile @@ -97,7 +97,6 @@ help: =20 # installs headers for all archs at once. headers: - $(Q)mkdir -p "$(OUTPUT)sysroot" $(Q)mkdir -p "$(OUTPUT)sysroot/include" $(Q)cp --parents $(arch_files) $(all_files) "$(OUTPUT)sysroot/include/" =20 --=20 2.53.0 From nobody Wed Apr 1 20:40:52 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 7946535CBD6 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=1775056111; cv=none; b=cBt9xslYzZegk97bmAdDrUFqHEefDh/hm/z3kPlOo8KG3KwUvh3lGmG+QPgvlHpZQjJqgZNb8hkEj/9ZrZCuxUYItz9TzeyG8nIz+cYn9MSbrJM0pxpial+Xw2hOeov5102oplkIxBCPF9X54LJ2HaQHFqbVkbVMF1PgkjsoQsc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775056111; c=relaxed/simple; bh=YcbamPWR+Zhm0Sagl9BbuIyMYbdwOmJyGEdqmEwVH3I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Evce94lFLy2Fp4tNZfe0cpf/YJBZPXK4q5T3P6oMlGB8PfTlNiAzJI0zSZEJ2xrWJMtStQDbclK285u8ugqBtKjdqvnKHEYQNVBPbmtjBa+W6OgfB8oAthGuH9bFWrPzuEBZ/lGTgQHur3g6A7iSUJ3el4e8KdU49S2rpEfxXD8= 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=bkVq4wNa; 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="bkVq4wNa" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1775056108; bh=YcbamPWR+Zhm0Sagl9BbuIyMYbdwOmJyGEdqmEwVH3I=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=bkVq4wNaMqnEcLeZNdLJ+5GkUlqAOX3+ngujJGsXLs0nJYXh7YIUY3feGzxY9hjO5 tj2O3tbqsipDTaPVjAOkGmnX6sMwIr/hfCvc9IzZeGwMDSz6rF5YXqWYv9NkZ3pfjp FvWo4GcL3VBID9KJAsngzZIFJZobiOQ1y0+X2vo0= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Wed, 01 Apr 2026 17:08:30 +0200 Subject: [PATCH 3/4] tools/nolibc: drop superfluous definition of Q 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-3-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=685; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=YcbamPWR+Zhm0Sagl9BbuIyMYbdwOmJyGEdqmEwVH3I=; b=IorOGS4KP1s+LzZcwjK12vzeHtktqTozCMqkb0Z3nO6qmGYxB/Lnxjf+6EHeNyH6ohaEdjA+i smZev5ucfvqA8utQQ8HvWdcFlKTl2meun16KQi6DoRHLDCheN6BTs2c X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Q is already defined by tools/scripts/Makefile.include which is included at the top of tools/include/nolibc/Makefile. Signed-off-by: Thomas Wei=C3=9Fschuh --- tools/include/nolibc/Makefile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/include/nolibc/Makefile b/tools/include/nolibc/Makefile index df9304e6d818..56343fdbdb2f 100644 --- a/tools/include/nolibc/Makefile +++ b/tools/include/nolibc/Makefile @@ -17,12 +17,6 @@ endif # it defaults to this nolibc directory. OUTPUT ?=3D $(CURDIR)/ =20 -ifeq ($(V),1) -Q=3D -else -Q=3D@ -endif - arch_files :=3D arch.h $(wildcard arch-*.h) all_files :=3D \ compiler.h \ --=20 2.53.0 From nobody Wed Apr 1 20:40:52 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