From patchwork Sun Aug 27 08:00:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Patchwork-Id: 717634 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A5630C83F10 for ; Sun, 27 Aug 2023 08:00:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229665AbjH0IAa (ORCPT ); Sun, 27 Aug 2023 04:00:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230336AbjH0IAX (ORCPT ); Sun, 27 Aug 2023 04:00:23 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35661EC; Sun, 27 Aug 2023 01:00:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1693123218; bh=B1mFk8uZ/BLYTjxk1k/ejCC5jmffZ0I7FxsOqwtYDWg=; h=From:Subject:Date:To:Cc:From; b=i9A17SGInjboXUzxVgk3l3W5cu7bCJyVf9+tBOMFoRGtAM5L7HrpezSt/Ye6ssuZU mfswVfQk7bXo4DiQLX6nLh+g0Oyzdh2Fg9BUm3EsXdKqhcfMK5FbV2bIWjSzvtzN+F a4iAO/hb2kh7/A6Zua4eSATXBxm3xOSe+9/DQQIw= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Subject: [PATCH 0/2] nolibc: remove reliance on system headers Date: Sun, 27 Aug 2023 10:00:14 +0200 Message-Id: <20230827-nolibc-nostdinc-v1-0-995d1811f1f3@weissschuh.net> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAI4C62QC/x2MywqAIBAAf0X2nLCu0OtXokPpVgthoRFB+O9Jp 2EOMy8kjsIJevVC5FuSHKGIqRS4bQora/HFgZAsttTocOwyu4J0eQlOE9oOW2PR1w2U6oy8yPM fhzHnD7DuN71hAAAA To: Willy Tarreau , Shuah Khan Cc: Zhangjin Wu , Yuan Tan , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, =?utf-8?q?Th?= =?utf-8?q?omas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1693123217; l=747; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=B1mFk8uZ/BLYTjxk1k/ejCC5jmffZ0I7FxsOqwtYDWg=; b=4tkadWjyWeIpJdWSAHtHbIBxCI0veoaV6yaTRb4AjXizfbEpRH2p+Ax5dv4Ycm9T8pb91zAX9 mkdqpMW4YaOD9BAwhwG2o3QTIGnE+jHu4dHykbseE2rQ/ggPHNR+rw1 X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org This was prompted by the discussion about output directory support with O=. It seems sometimes we were pulling in system headers making testing annoying and unreliable. Signed-off-by: Thomas Weißschuh --- Thomas Weißschuh (2): tools/nolibc: add stdarg.h header selftests/nolibc: use -nostdinc for nolibc-test tools/include/nolibc/Makefile | 1 + tools/include/nolibc/stdarg.h | 16 ++++++++++++++++ tools/testing/selftests/nolibc/Makefile | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) --- base-commit: 556fb7131e03b0283672fb40f6dc2d151752aaa7 change-id: 20230827-nolibc-nostdinc-203908130d67 Best regards,