]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libcompat: build 32-bit rtld and ldd as part of "everything"
authorbrooks <brooks@FreeBSD.org>
Thu, 7 Nov 2019 17:10:33 +0000 (17:10 +0000)
committerbrooks <brooks@FreeBSD.org>
Thu, 7 Nov 2019 17:10:33 +0000 (17:10 +0000)
commit5a24cdbeedb9b45441693b4842e410010f7e0604
treeec72d36f8d28eff4cc9107478af3e5666c8c91d7
parent2105b345fe579097702a9324f135aa542a5d6742
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
Makefile.inc1
Makefile.libcompat
libexec/Makefile
libexec/rtld-elf/Makefile
libexec/rtld-elf32/Makefile [new file with mode: 0644]
share/mk/bsd.compat.mk
share/mk/src.opts.mk
usr.bin/Makefile
usr.bin/ldd32/Makefile [new file with mode: 0644]