Simon J. Gerraty
cc3f4b9965
Merge from head
2014-05-08 23:54:15 +00:00
Warner Losh
f0e845794d
Fix the upgrade path for fmake by allowing the include of src.opts.mk
...
to fail and falling back on the conservative testing of variables
already in place. This should stop the tide of tinderbox mail.
2014-05-06 14:33:18 +00:00
Stefan Eßer
cb3d295629
Revert r265436, since it is not the correct fix.
2014-05-06 14:01:48 +00:00
Stefan Eßer
05071052ab
Fix include statement to accept src.opts.mk from a source directory
...
instead of from /usr/share/mk.
I'm not sure that this will let buildworld complete on a system with
no installed src.opts.mk (make buildworld is still running), but the
tinderbox builds are all failing earlyon without this patch.
2014-05-06 12:31:17 +00:00
Warner Losh
d03127447d
Remove support for WITHOUT_BMAKE. bmake is now the only make that can
...
build world, so it is the only make we build or install. fmake is
still in the tree, but disconnected, and upgrades from older systems
that still have bmake has not been removed, but its state has not been
tested (it should work given how minimal the work to upgrade to bmake
is).
2014-05-06 04:22:37 +00:00
Warner Losh
c6063d0da8
Use src.opts.mk in preference to bsd.own.mk except where we need stuff
...
from the latter.
2014-05-06 04:22:01 +00:00
Simon J. Gerraty
3b8f084595
Merge head
2014-04-28 07:50:45 +00:00
Simon J. Gerraty
0dede8b0ba
Merge bmake-20140101 from vendor
2014-01-27 17:47:21 +00:00
Simon J. Gerraty
d466a5b069
Merge head
2013-09-11 18:16:18 +00:00
Simon J. Gerraty
ed03145ec8
Stick to traditional DEFAULT_SYS_PATH (/usr/share/mk)
...
Reviewed by: obrien
Approved by: re
2013-09-10 23:31:38 +00:00
Simon J. Gerraty
d1d0158641
Merge from head
2013-09-05 20:18:59 +00:00
Simon J. Gerraty
1bbe5942b5
Merge bmake-20130904
2013-09-05 15:57:26 +00:00
Simon J. Gerraty
84efbe96f1
ParseGetLine: don't treat a zero byte as end of buffer if P_end says it isn't.
...
Consume up to next newline, and issue a parse warning.
If no newline found before P_end, carry on as before.
2013-08-10 21:31:35 +00:00
Simon J. Gerraty
51ee2c1cc6
Merge bmake-20130730
...
Main feature of interest is .MAKE.JOB.PREFIX=
to suppress --- job --- tokens.
2013-08-02 06:25:28 +00:00
Simon J. Gerraty
74d2e02b85
Update to bmake-20130604 to fix file descriptor leak.
2013-06-05 16:12:50 +00:00
Simon J. Gerraty
52d8625616
Sync with upstream version (20130520) that includes same fixes made last week.
2013-05-20 22:51:11 +00:00
Simon J. Gerraty
3c1c0edeef
Per the comment, we cannot rely on bsd.own.mk
...
we could be on an old system that knows noting of MK_BMAKE
or on an almost up to date one that is defaulting it to "no"
neither of which will work.
2013-05-17 22:18:27 +00:00
Simon J. Gerraty
8ebb983529
We really need to get the bsd.own.mk from this tree so the
...
correct options are set.
Also defined NO_PWD_OVERRIDE to match behavior of fmake.
2013-05-17 19:37:16 +00:00
Xin LI
f26784139f
guard against MK_SHARED_TOOLCHAIN not being defined.
2013-05-16 22:35:33 +00:00
Xin LI
ac2c0328ca
Similar to r250719: guard against MK_BMAKE not being defined.
2013-05-16 22:25:17 +00:00
Simon J. Gerraty
69e6d7b75e
sync from head
2013-04-12 20:48:55 +00:00
Simon J. Gerraty
1748de26cb
Update to bmake-20130330
2013-04-02 21:31:11 +00:00
Simon J. Gerraty
7cf3a1c6b2
Updated dependencies
2013-03-11 17:21:52 +00:00
Simon J. Gerraty
f5f7c05209
Updated dependencies
2013-02-16 01:23:54 +00:00
David E. O'Brien
d9a447559b
Sync with HEAD.
2013-02-08 16:10:16 +00:00
Simon J. Gerraty
4639b85868
Missed adding Makefile.config and unit-tests/Makefile should
...
allow FreeBSD make to do 'obj'.
Approved by: marcel (mentor)
2013-02-04 17:41:17 +00:00
Simon J. Gerraty
3cbdda60ff
Merge bmake-20130123
...
Approved by: marcel (mentor)
2013-02-01 22:55:27 +00:00
Simon J. Gerraty
59a02420d8
Merge bmake-20121111
...
Also pay attention to MK_SHARED_TOOLCHAIN.
Approved by: marcel (mentor)
2012-11-16 01:37:25 +00:00
Simon J. Gerraty
7cd2dcf076
Updated/new Makefile.depend
2012-11-08 21:24:17 +00:00
Simon J. Gerraty
93036677b5
Merge bmake-20121010
...
Approved by: marcel (mentor)
2012-10-25 23:18:05 +00:00
Marcel Moolenaar
21eb01cbce
Fix a bootstrapping problem where the first bmake (built by FreeBSD's
...
make) ended up being built with -DFORCE_MACHINE. This broke the lib32
built for amd64 & powerpc64.
This fix is comes with the next import of bmake, but is committed here
and now to minimize the exposure to the bug.
Submitted by: Simon Gerraty <sjg@juniper.net>
2012-10-19 19:56:17 +00:00
David E. O'Brien
22ddf6d447
Obey the value of "MK_BMAKE".
2012-10-16 15:43:16 +00:00
Marcel Moolenaar
d4d90f10bc
Add bmake to the build and allow it to be installed as make(1) instead
...
of FreeBSD's make by setting WITH_BMAKE. The WITH_BMAKE build makes it
easy for people to switch while working out the kinks -- think ports
tree here. The option will be removed in due time.
Submitted by: Simon Gerraty (sjg@juniper.net )
2012-10-06 19:19:21 +00:00