freebsd-skq/share/mk
Brooks Davis a4330302f2 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.

Changes relative to r354449:

Correct detection of the compiler type when bsd.compat.mk is used
outside Makefile.libcompat.  Previously it always matched the clang
case.

Set LDFLAGS including the linker emulation for mips where -m32 seems to
be insufficent.

Reviewed by:	imp, kib (origional version in r354449)
Obtained from:	CheriBSD (conceptually)
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D22251
2019-11-07 22:58:10 +00:00
..
atf.test.mk Another round of attempting to squelch -Wdeprecated-declarations, which 2019-09-17 06:07:08 +00:00
auto.obj.mk
bsd.arch.inc.mk
bsd.clang-analyze.mk
bsd.compat.mk libcompat: build 32-bit rtld and ldd as part of "everything" 2019-11-07 22:58:10 +00:00
bsd.compiler.mk Allow for compiler versions >= 10 2019-09-08 19:40:52 +00:00
bsd.confs.mk pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
bsd.cpu.mk
bsd.crunchgen.mk
bsd.dep.mk Fix spelling of DPSRCS. 2019-10-19 21:44:33 +00:00
bsd.dirs.mk pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
bsd.doc.mk pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
bsd.dtb.mk
bsd.endian.mk
bsd.files.mk Need to use ${${_${group}DIR_${file}}} for STAGE_DIR 2019-10-01 20:32:03 +00:00
bsd.incs.mk pkgbase: Add tags for includes in bsd.incs.mk 2019-09-05 14:16:39 +00:00
bsd.info.mk
bsd.init.mk
bsd.kmod.mk
bsd.lib.mk Re-add ALLOW_MIPS_SHARED_TEXTREL, sprinkle it around 2019-10-06 04:19:49 +00:00
bsd.libnames.mk Introduce stats(3), a flexible statistics gathering API. 2019-10-07 19:05:05 +00:00
bsd.linker.mk
bsd.links.mk
bsd.man.mk
bsd.mkopt.mk Document logic for __DEFAULT_DEPENDENT_OPTIONS 2019-09-16 00:32:23 +00:00
bsd.nls.mk
bsd.obj.mk
bsd.opts.mk
bsd.own.mk
bsd.port.mk
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.prog.mk Allow bsd.compat.mk to be reliably included outside Makefile.inc1. 2019-10-31 20:37:19 +00:00
bsd.progs.mk PROGS: Build common sources before recursed PROGS_TARGETS as well when building. 2019-09-04 18:32:11 +00:00
bsd.README Allow bsd.compat.mk to be reliably included outside Makefile.inc1. 2019-10-31 20:37:19 +00:00
bsd.snmpmod.mk
bsd.subdir.mk
bsd.suffixes-posix.mk
bsd.suffixes.mk
bsd.symver.mk
bsd.sys.mk Instead of disabling gcc's deprecated declaration warnings about e.g. 2019-09-14 19:16:28 +00:00
bsd.test.mk
dirdeps-options.mk
dirdeps.mk
gendirdeps.mk
googletest.test.inc.mk
googletest.test.mk
host-target.mk
install-new.mk
local.autodep.mk
local.dirdeps.mk
local.gendirdeps.mk
local.init.mk
local.meta.sys.mk
local.sys.env.mk
local.sys.mk
Makefile Install bsd.compat.mk. 2019-10-16 17:21:18 +00:00
meta2deps.py
meta2deps.sh
meta.autodep.mk
meta.stage.mk
meta.subdir.mk
meta.sys.mk
netbsd-tests.test.mk
plain.test.mk
src.init.mk
src.libnames.mk Allow OBJDIR to be overridden for LIB*DIR variables. 2019-10-15 21:15:03 +00:00
src.opts.mk libcompat: build 32-bit rtld and ldd as part of "everything" 2019-11-07 22:58:10 +00:00
src.sys.env.mk
src.sys.mk
src.sys.obj.mk
stage-install.sh
suite.test.mk In suite.test.mk, test if ${DESTDIR} exists before attempting to run 2019-09-25 17:52:59 +00:00
sys.dependfile.mk
sys.mk
tap.test.mk
version_gen.awk