HomeFreeBSD

stand libsa: Restore include path to LDRSRC for disk.h for filesystems.

Description

stand libsa: Restore include path to LDRSRC for disk.h for filesystems.

In theory they shouldn't need anything outside of libsa, but disk.h and
bootstrap.h are currently required. Future work wil address this issue.

This fixes the build with MK_LOADER_ZFS=no. ZFS's Makefile.inc adds
these flags globally to CFLAGS when it should not. This masked the
problem because the tools/boot/universe.sh didn't build MK_LOADER_ZFS=no
as part of its regressions. Future work will also fix this.

Obtained from: CheriBSD
Fixes: 84bf2bbbecc3 stand: constrain zlib/gzip CFLAGS better
Sponsored by: DARPA
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D35860

Details

Provenance
jhbAuthored on Jul 22 2022, 3:53 PM
impCommitted on Jul 22 2022, 4:08 PM
Reviewer
imp
Differential Revision
D35860: stand libsa: Restore include path to LDRSRC for disk.h for filesystems.
Parents
rGd6054ee652a5: find.1: small language fix after previous change
Branches
Unknown
Tags
Unknown