Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
libcompat: Correct rtld MLINKSDon't install duplicate ld-elf.so.1.1 and ld.so.1 links in rtld-elf32.Do install lib-elf32.so.1.1 and ldd32.1 links.Reported by: madpilot
libcompat: build 32-bit rtld and ldd as part of "everything"Alter bsd.compat.mk to set MACHINE and MACHINE_ARCH when includeddirectly so MD paths in Makefiles work. In the process centralizesetti
libcompat: build 32-bit rtld and ldd as part of "everything"Alter bsd.compat.mk to set MACHINE and MACHINE_ARCH when includeddirectly so MD paths in Makefiles work. In the process centralizesetting 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 alwaysenabling it and requiring users of MK_LIB32 to filter basedTARGET/MACHINE_ARCH.The net effect of this change is to make Makefile.libcompat only buildcompatability libraries.Changes relative to r354449:Correct detection of the compiler type when bsd.compat.mk is usedoutside Makefile.libcompat. Previously it always matched the clangcase.Set LDFLAGS including the linker emulation for mips where -m32 seems tobe insufficent.Reviewed by: imp, kib (origional version in r354449)Obtained from: CheriBSD (conceptually)Sponsored by: DARPA, AFRLDifferential Revision: https://reviews.freebsd.org/D22251
show more ...
Revert r354449: libcompat: build 32-bit rtld and ldd as part of "everything"Additional testing is required..
libcompat: build 32-bit rtld and ldd as part of "everything"Alter bsd.compat.mk to set MACHINE and MACHINE_ARCH when includeddirectly so MD paths in Makefiles work. In the process centralizesetting 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 alwaysenabling it and requiring users of MK_LIB32 to filter basedTARGET/MACHINE_ARCH.The net effect of this change is to make Makefile.libcompat only buildcompatability libraries.Reviewed by: imp, kibObtained from: CheriBSD (conceptually)Sponsored by: DARPA, AFRLDifferential Revision: https://reviews.freebsd.org/D22251