HomeFreeBSD

Makefile.inc1: Always have which succeed

Description

Makefile.inc1: Always have which succeed

In bootstrap-tools we search for some tools to copy into the obj tree.
If the tool is missing in the host environment then the '[ ! -e ... ]'
check will fail as which will print '<tool> not found'.

There is an issue that which will also return an error so we never get
to the check and don't print the error message. As which outputs an
invalid path on failure we can just add || true to ensure make
continues.

Reviewed by: kevans
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D51075

Details

Provenance
andrewAuthored on Jun 28 2025, 1:55 AM
Reviewer
kevans
Differential Revision
D51075: Makefile.inc1: Always have which succeed
Parents
rG83b08f402641: fix parallel execution of swapon tests
Branches
Unknown
Tags
Unknown