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

Willy Tarreau posted 3 patches 3 years, 11 months ago
tools/Makefile                |  3 +++
tools/include/nolibc/Makefile | 37 +++++++++++++++++++++++++++++++++--
2 files changed, 38 insertions(+), 2 deletions(-)
[PATCH 0/3] tools/nolibc: fix build issues when building from tools/
Posted by Willy Tarreau 3 years, 11 months ago
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
Re: [PATCH 0/3] tools/nolibc: fix build issues when building from tools/
Posted by Paul E. McKenney 3 years, 11 months ago
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@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

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
>