1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00
freebsd/share/mk
Bryan Drewery 1b337a349d Build libcompat (lib32) with a --sysroot pointing into its stage directory.
This overrides the cross-compiler's default sysroot to use the WORLD32's
sysroot for building the lib32 libraries.  Previously the cross-compiler
would default the sysroot to the 64bit WORLDTMP and -B/-L/-isystem flags
were used to build using the lib32 files.  This leads to multiple issues
discussed later.  Some extra headers are now needed to be staged since the
64bit WORLDTMP is not referenced at all for headers.  The 64bit WORLDTMP
is still used via PATH for build tools.  Overriding the default
target/arch is retained in the CC/CXX overrides.

This allows reverting the LDSCRIPT rewriting in installworld from r296921 and
r235122, thus allowing read-only objdirs to work for installing again.

This removes the need for _LDSCRIPTROOT.

This allows progressing the change to always use --sysroot for the build
rather than only relying on the cross-compiler's default sysroot.  The
work for that is in D3970 and needed to resolve WITHOUT_CROSS_COMPILER
not using a --sysroot [1].

PR:		196193 [1]
Sponsored by:	EMC / Isilon Storage Division
2016-03-25 19:12:38 +00:00
..
atf.test.mk Remove unused atf.test.mk variables 2015-12-06 07:30:18 +00:00
auto.obj.mk Import latest auto.obj.mk 1.12 from contrib/bmake/mk. 2016-01-25 18:16:41 +00:00
bsd.arch.inc.mk
bsd.clang-analyze.mk Import bsd.clang-analyze.mk based on NetBSD's version. 2016-02-26 22:14:00 +00:00
bsd.compiler.mk CCACHE_BUILD+META_MODE: Lookup and canonicalize the default CCACHE_DIR. 2016-03-01 22:25:54 +00:00
bsd.confs.mk These group names may be used as a cookie, so replace any non-fs-safe characters. 2016-03-09 22:45:00 +00:00
bsd.cpu.mk Start support for the RISC-V 64-bit architecture developed by UC Berkeley. 2015-12-11 22:55:23 +00:00
bsd.crunchgen.mk DIRDEPS_BUILD: Fix some things building in MAKELEVEL0. 2016-02-26 22:13:48 +00:00
bsd.dep.mk FAST_DEPEND: Use .dinclude to enable full .depend logic in bmake. 2016-03-11 04:09:56 +00:00
bsd.doc.mk DIRDEPS_BUILD: Fix some things building in MAKELEVEL0. 2016-02-26 22:13:48 +00:00
bsd.dtb.mk
bsd.endian.mk Start support for the RISC-V 64-bit architecture developed by UC Berkeley. 2015-12-11 22:55:23 +00:00
bsd.files.mk Remove out-of-place make(buildincludes) check. 2016-03-11 23:44:59 +00:00
bsd.incs.mk These group names may be used as a cookie, so replace any non-fs-safe characters. 2016-03-09 22:45:00 +00:00
bsd.info.mk DIRDEPS_BUILD: Fix some things building in MAKELEVEL0. 2016-02-26 22:13:48 +00:00
bsd.init.mk Consolidate common beforebuild logic. 2016-02-16 02:09:48 +00:00
bsd.kmod.mk
bsd.lib.mk Build libcompat (lib32) with a --sysroot pointing into its stage directory. 2016-03-25 19:12:38 +00:00
bsd.libnames.mk Move casper library entries to proper places. 2016-03-03 06:22:51 +00:00
bsd.links.mk Fix style and remove excess / for installing SYMLINKS. 2016-02-04 01:08:51 +00:00
bsd.man.mk Remove _manpages and _maninstall targets as they are no longer needed. 2016-02-26 22:13:31 +00:00
bsd.mkopt.mk
bsd.nls.mk Don't let NLSLINKS contain itself. 2016-02-03 23:37:14 +00:00
bsd.obj.mk Consolidate common beforebuild logic. 2016-02-16 02:09:48 +00:00
bsd.opts.mk Enable FAST_DEPEND by default. 2016-03-11 16:57:41 +00:00
bsd.own.mk Fix build without FAST_DEPEND and without running 'make depend' after r295985. 2016-02-25 20:02:42 +00:00
bsd.port.mk Avoid sub-shell for realpath(1) for bmake by using its built-in :tA. 2015-09-03 17:01:58 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk Avoid sub-shell for realpath(1) for bmake by using its built-in :tA. 2015-09-03 17:01:58 +00:00
bsd.prog.mk DEBUG_FILES: Create the DEBUGFILEDIR if it doesn't exist on install. 2016-03-03 18:08:58 +00:00
bsd.progs.mk DIRDEPS_BUILD+PROGS: Fix staging not respecting (BINDIR|PROGNAME)[._]${PROG}. 2016-03-09 03:22:20 +00:00
bsd.README Simplify running the FreeBSD test suite 2016-02-07 18:40:04 +00:00
bsd.snmpmod.mk Allow overriding FILESDIRs for snmp files. 2015-12-14 22:42:05 +00:00
bsd.stand.mk Use CFLAGS_NO_SIMD in preference to varying lists of -mno-xxxx flags. 2015-08-27 23:46:42 +00:00
bsd.subdir.mk Don't even define or append subdir targets with NO_SUBDIR. 2016-03-11 23:45:39 +00:00
bsd.symver.mk
bsd.sys.mk Build libcompat (lib32) with a --sysroot pointing into its stage directory. 2016-03-25 19:12:38 +00:00
bsd.test.mk Remove things set already by bsd.progs.mk. 2016-03-09 03:22:17 +00:00
dirdeps.mk Update to bmake-20160315 2016-03-18 20:03:09 +00:00
gendirdeps.mk Merge bmake-20160307 2016-03-11 01:35:39 +00:00
host-target.mk Import latest host-target.mk 1.11 from contrib/bmake/mk 2016-01-25 18:43:21 +00:00
install-new.mk DIRDEPS_BUILD: Install new Makefile.depend files atomically. 2015-12-04 03:17:07 +00:00
local.autodep.mk Revert r288966 as it is redundant and not right. 2015-12-03 22:39:42 +00:00
local.dirdeps.mk DIRDEPS_BUILD: Let PROGS bootstrapping work. 2016-03-09 22:44:48 +00:00
local.gendirdeps.mk META MODE: Don't trim out lib/clang/include dependency. 2015-12-01 05:18:55 +00:00
local.init.mk Define .MAKE.MODE to normal to avoid the need for :U later. 2016-01-19 22:41:44 +00:00
local.meta.sys.mk DIRDEPS_BUILD: Add a sure way to prohibit building 'all' during dirdeps phase. 2016-03-11 23:45:23 +00:00
local.sys.env.mk
local.sys.mk Follow-up r296700: Fix incorrectly declaring these as .MAIN. 2016-03-13 20:51:45 +00:00
Makefile Import bsd.clang-analyze.mk based on NetBSD's version. 2016-02-26 22:14:00 +00:00
meta2deps.py
meta2deps.sh Fix meta2deps.sh tracking of dependencies inside .CURDIR. 2016-03-02 20:06:24 +00:00
meta.autodep.mk Merge bmake-20160307 2016-03-11 01:35:39 +00:00
meta.stage.mk Update to bmake-20160315 2016-03-18 20:03:09 +00:00
meta.subdir.mk Import latest meta.subdir.mk 1.11 from contrib/bmake/mk 2016-01-25 18:34:15 +00:00
meta.sys.mk Merge bmake-20160307 2016-03-11 01:35:39 +00:00
netbsd-tests.test.mk Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
plain.test.mk
src.init.mk The 'buildenv' target can safely be ran with '+'. 2015-11-06 21:49:17 +00:00
src.libnames.mk Fix over/under-linking in contrib/ofed. 2016-03-04 22:37:09 +00:00
src.opts.mk Install elftoolchain elfcopy(1) as objcopy(1) by default 2016-02-26 15:46:14 +00:00
src.sys.env.mk RELDIR is useful without META_MODE. Always define it. 2015-09-23 23:30:57 +00:00
src.sys.mk Only include src.conf if _WITHOUT_SRCCONF not defined. 2015-12-01 20:56:16 +00:00
stage-install.sh
suite.test.mk Simplify running the FreeBSD test suite 2016-02-07 18:40:04 +00:00
sys.dependfile.mk Merge bmake-20160307 2016-03-11 01:35:39 +00:00
sys.mk META_MODE: Default to the silent build. 2016-02-26 22:13:56 +00:00
tap.test.mk - Use LOCALBASE instead of KYUA_PREFIX for the --prefix to kyua(1) 2015-12-20 06:26:15 +00:00
version_gen.awk