From mboxrd@z Thu Jan 1 00:00:00 1970 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 B15143ACF0C for ; Fri, 6 Mar 2026 16:33:27 +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=1772814807; cv=none; b=c+DeH8z7ZaZX6suQb95k8tKUNh0jOo64yzqHsevE/ZhXKzs4CpUY8UgYONC7E+Bw3qrasM81EZay6E+7kqzGfkXltaZp6kxjFp37dJhG0e1mYUQxtbaBI5PvcPGDay8ZsBV5k8GW7IHptf8X6xufY2GdmjU2WSCfHuIfleHkjGg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772814807; c=relaxed/simple; bh=OsGIverTqbfLboR3Rb0dxLX69WlmezNlUPs+M/gaqTw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=VEdQbWS1k4AabK2zVpnD4Y54QDf4RGFwcuzUUah7TdsdeFAnms+uaT+PtlFmTgwmCT8rTg6zKU7dLnm0c6c0Cozjl1iyCnqhMv5coC69DmZkI9oRHJOnWr0Tn8VKcQjcJqwavXLp5r1yT4Dh0fcfDLowkMk9eZh1tvg7Fyp0DyY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UL2TgpIJ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UL2TgpIJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 761D9C2BC86; Fri, 6 Mar 2026 16:33:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772814807; bh=OsGIverTqbfLboR3Rb0dxLX69WlmezNlUPs+M/gaqTw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UL2TgpIJCnuAHQ2ATmAKjs+sBFvYX+X8n86mKjtYnYnJPFh6OK3vVgeE4ZxwRyKjM hBU0hEd4MW82Rq2W9VhJrRwg82zkBkVwc7dsGL6Alhvd7LDvJ5XX1+T8crZF7s2cF/ SZMdjOOzrb2tI9rTm+uMkh8LgXklFn0YLkYZV0pxH1lwAsm+zq438rUIewc9LtHJe9 ADpaYdrNqr7/Z3iPIct21lJocC2xRJ9dT/T/XSozo6UNxWudL8hDI/jvgVdpIYLQgR jfFK6kmx0krFoXTJjKnz3Y4Tz5DUp81qYcNhkGSg/aGjRsPkBU1h0as58C4jksnwnj nozB/jCav55PA== From: Arnd Bergmann To: linux-kbuild@vger.kernel.org Cc: Arnd Bergmann , Dodji Seketeli , John Moon , Nathan Chancellor , Nicolas Schier , =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= , libabigail@sourceware.org Subject: [PATCH 3/3] check-uapi: use dummy libc includes Date: Fri, 6 Mar 2026 17:33:09 +0100 Message-Id: <20260306163309.2015837-4-arnd@kernel.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20260306163309.2015837-1-arnd@kernel.org> References: <20260306163309.2015837-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kbuild@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Arnd Bergmann Based on Thomas Weißschuh's series to kernel headers to no longer require an installed libc when build testing the uapi headers, the same can now be done for the scripts/check-uapi.sh script. The only required change here is to add the usr/dummy-include include path. Link: https://lore.kernel.org/lkml/20260227-kbuild-uapi-libc-v1-0-c17de0d19776@weissschuh.net/ [1] Signed-off-by: Arnd Bergmann --- scripts/check-uapi.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/check-uapi.sh b/scripts/check-uapi.sh index e4d120eb09e3..c8beec58871c 100755 --- a/scripts/check-uapi.sh +++ b/scripts/check-uapi.sh @@ -191,6 +191,7 @@ do_compile() { -fno-eliminate-unused-debug-types \ -g \ "-I${inc_dir}" \ + "-Iusr/dummy-include" \ -include "$header" \ - } -- 2.39.5