Re: [PATCH 0/3] tools/nolibc: fix build issues when building from tools/

From: Paul E. McKenney
Date: Tue May 31 2022 - 11:23:50 EST


On Sat, May 28, 2022 at 05:45:43PM +0200, Willy Tarreau wrote:
> 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@xxxxxxxxxxxxxx/
>
> 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

Queued for testing and review, thank you!

Thanx, Paul

> ---
> 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
>