HomeFreeBSD

libcompat: build 32-bit rtld and ldd as part of "everything"

Description

libcompat: build 32-bit rtld and ldd as part of "everything"

Alter bsd.compat.mk to set MACHINE and MACHINE_ARCH when included
directly so MD paths in Makefiles work. In the process centralize
setting them in LIBCOMPATWMAKEENV.

Alter .PATH and CFLAGS settings in work when the Makefile is included.

While here only support LIB32 on supported platforms rather than always
enabling it and requiring users of MK_LIB32 to filter based
TARGET/MACHINE_ARCH.

The net effect of this change is to make Makefile.libcompat only build
compatability libraries.

Reviewed by: imp, kib
Obtained from: CheriBSD (conceptually)
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D22251

Details

Provenance
brooksAuthored on
Reviewer
imp
Differential Revision
D22251: libcompat: build 32-bit rtld and ldd as part of "everything"
Parents
rS354448: Widen network epoch coverage in nd6_prefix_onlink() as
Branches
Unknown
Tags
Unknown