Commit Graph

21 Commits

Author SHA1 Message Date
Simon J. Gerraty
4bd681c150 Crude cross-build support thanks to clang 2014-07-25 20:44:04 +00:00
Simon J. Gerraty
7d46a6b75a export sanitized MAKESYSPATH in case .../ appears in default syspath. 2014-06-25 00:19:58 +00:00
Simon J. Gerraty
0244ab1f26 Use _LIBDIR in STAGE_LIBDIR so we DTRT for PRIVATE libs.
We now use SYSROOT
and (for now) non-shared toolchain when building for host.
2014-05-16 14:58:48 +00:00
Simon J. Gerraty
241026341f When bootstrapping tools MACHINE==host and EARLY_BUILD defined,
so not use any of stage tree.

M_whence only first value counts
2014-05-10 00:23:12 +00:00
Simon J. Gerraty
65c026e612 Avoid /etc/make.conf
and make it easier to deal with compiler updates
2014-05-05 18:15:18 +00:00
Simon J. Gerraty
cb34e2d98b Handle the different expectations of MACHINE_ARCH b/w buildworld etc
and dirdeps.
2013-10-16 16:05:12 +00:00
Simon J. Gerraty
402be6b029 Some cleanup and re-org.
Also update CFLAGS_LAST.clang to match new compiler version.
Add BOOT_MACHINE_DIR (so we can stick to unqualified Makefile.depend)
2013-10-12 23:46:41 +00:00
Simon J. Gerraty
a0108088f8 Include more stuff within the meta mode block, so that buildworld
can function normally.

Submitted by:	John Van Horne
2013-06-04 15:25:57 +00:00
Simon J. Gerraty
3f97663be0 Cleanup some backwards compat stuff we do not need.
Introduce TARGET_OBJ_SPEC (derrived from TARGET_SPEC_VARS)
so we can build something like universe.
2013-05-11 01:03:29 +00:00
Simon J. Gerraty
fb0cb80846 Add stage-install.sh so we can do away with the need to have
$STAGE_OBJTOP/include for src/include.
2013-04-19 18:45:03 +00:00
Simon J. Gerraty
fd2ff6a087 If building for "host" and we do not have Makefile.depend.host;
do not update it.
This allows us to avoid populating the tree with Makefile.depend.host
that aren't absolutely necessary.
2013-03-17 03:09:08 +00:00
Simon J. Gerraty
0014c9fea8 We need .OBJDIR done earlier 2013-03-17 01:53:47 +00:00
Simon J. Gerraty
00140433d2 Apply DEP_DIRDEPS_FILTER.${DEP_MACHINE} as needed.
Use DEP_DIRDEPS_FILTER.host to supress dependencies for host tools.
2013-03-12 17:21:03 +00:00
Simon J. Gerraty
9c6f3ad90f Control default .MAKE.DEPENDFILE indepentend of .MAKE.DEPENDFILE_PREFERENCE 2013-03-08 01:51:32 +00:00
Simon J. Gerraty
34ce9cc44f Do no assume ${DESTDIR}/usr/include is always valid 2013-02-20 00:13:26 +00:00
Simon J. Gerraty
6bc671bb67 If MAKESYSPATH contained .../ entry resolve it so that it still works
when we launch make from obj tree.
If we don't have sysroot support we need some c++ and clang specific
include dirs in the stage tree.
2013-02-16 01:19:18 +00:00
Simon J. Gerraty
ab970acff7 Use STAGE_OBJTOP for STAGE_SYMLINKS_DIR etc 2013-01-29 00:11:21 +00:00
Simon J. Gerraty
16974e1031 Add TIME_STAMP 2012-11-09 05:43:15 +00:00
Simon J. Gerraty
1e5c3c2b29 Need CXXFLAGS_LAST and LDFLAGS_LAST 2012-11-08 21:38:26 +00:00
Simon J. Gerraty
23090366f7 Sync from head 2012-11-04 02:52:03 +00:00
Marcel Moolenaar
7750ad47a9 Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00