From mboxrd@z Thu Jan 1 00:00:00 1970 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 96759C433F5 for ; Sat, 28 May 2022 15:46:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237972AbiE1PqM (ORCPT ); Sat, 28 May 2022 11:46:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237805AbiE1PqJ (ORCPT ); Sat, 28 May 2022 11:46:09 -0400 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1FE84183AE for ; Sat, 28 May 2022 08:46:06 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 24SFjqA2008306; Sat, 28 May 2022 17:45:52 +0200 From: Willy Tarreau To: Linus Torvalds Cc: "Paul E . McKenney" , linux-kernel@vger.kernel.org, Willy Tarreau Subject: [PATCH 0/3] tools/nolibc: fix build issues when building from tools/ Date: Sat, 28 May 2022 17:45:43 +0200 Message-Id: <20220528154546.8261-1-w@1wt.eu> X-Mailer: git-send-email 2.17.5 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Linus reported build issues when trying nolibc according to the documented procedure in "make tools/help": https://lore.kernel.org/lkml/CAHk-=wgpAHhPVSqBWb4gYT=CRJzKAZ4inmrL_kcpeNWGkcg3pg@mail.gmail.com/ This series addresses this by setting the ARCH and OUTPUT variables and adding a few targets to match default expectations. A "help" target also explains what the existing targets do. This will be particularly useful once the test suite is merged since it will add new targets. Thanks, Willy --- Willy Tarreau (3): tools/nolibc: fix the makefile to also work as "make -C tools ..." tools/nolibc: make the default target build the headers tools/nolibc: add a help target to list supported targets tools/Makefile | 3 +++ tools/include/nolibc/Makefile | 37 +++++++++++++++++++++++++++++++++-- 2 files changed, 38 insertions(+), 2 deletions(-) -- 2.17.5