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

From: Willy Tarreau
Date: Sat May 28 2022 - 11:46:13 EST


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

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