History log of /freebsd-10-stable/Makefile
Revision Date Author Comments
# 335927 04-Jul-2018 dteske

MFC SVN r335750: Fix typo in top-level Makefile

Submitted by: Ben Widawsky <ben.widawsky@intel.com>
Sponsored by: Smule, Inc.
Differential Revision: https://reviews.freebsd.org/P186


# 321341 21-Jul-2017 bdrewery

MFC r320273:

Allow ALWAYS_BOOTSTRAP_MAKE to force bmake bootstrapping.


# 313790 16-Feb-2017 ngie

MFC r285119,r292502,r295380:

r285119 (by jmmv):

Add support for TEST_METADATA

Allow Makefiles to define generic metadata settings that apply to all test
programs defined by a Makefile. The generic TEST_METADATA variable extends
the per-test program settings already supported via TEST_METADATA.<program>.

This feature will be useful to easily apply some settings to all programs
in a directory. In particular, Kyua 0.12 will support parallel execution
of test programs and a bunch of them will need to be tagged as is_exclusive
to indicate that they cannot be run in parallel with anything else due to
their side-effects. It will be reasonable to set this setting on whole
directories.

r292502:

Always expose LOCALBASE, not just when CROSS_TOOLCHAIN is defined

Instead of using which(1) to look for doxygen, look for it in <LOCALBASE>/bin .
$PATH gets mangled by make buildenv, etc so it's better to just be explicit
about the path if someone uses that for instance.

r295380:

Simplify running the FreeBSD test suite

Replace `make regress` (legacy test make target) and `make test` (incomplete
test make target added with the FreeBSD test suite) with make check as it's
consistent with other open source projects.

`make check` defaults to running tests from `.OBJDIR`, but can be overridden
with the `CHECKDIR` variable.

Add `make checkworld` target to simplify running the FreeBSD test suite from
`TESTSBASE` (i.e. the top-level tests directory), similar to buildworld.

Document `make check` and `make checkworld` in build(7).

Other minor changes:

- Rename intermediate file (`Kyuafile.auto`) to `Kyuafile` to simplify
`make check`.
- Remove terse warnings attached to `beforetest`/`aftertest`.
- Add kyua binary check to check target in suite.test.mk; error out if it's
not found

The MFC is [partly] contingent on other build related changes being MFCed.

X-MFC to: stable/10
Relnotes: yes


# 301738 09-Jun-2016 bdrewery

MFC r301465:

Fix bmake version upgrade logic to use the new bmake.

The '${WANT_MAKE} != "bmake"' logic seems wrong but is not being modified.


# 297035 18-Mar-2016 bdrewery

MFC r296643:

Fix make -n upgrade_checks.


# 296748 12-Mar-2016 bdrewery

MFC r295161,r296014:

r295161:
Add order for installworld/distribution.
r296014:
Add order for installworld/installkernel.


# 296741 12-Mar-2016 bdrewery

MFC r295980:

Support a WANT_MAKE_VERSION.


# 295679 16-Feb-2016 bapt

MFC r295455

Fix make universe when running with non POSIX/C locales using a locale sensitive
pattern

Approved by: re@ (gjb, marius)


# 294045 14-Jan-2016 bdrewery

MFC r293342:

Always try to upgrade to bmake if not already using it.


# 294044 14-Jan-2016 bdrewery

Fix improper use of MK_TESTS here from r264996.

In stable/10, the MK_TESTS=no form is not supported. This was preventing
the bmake bootstrap from working.

Sponsored by: EMC / Isilon Storage Division


# 291976 07-Dec-2015 bdrewery

MFC r291605:

Fix errors being ignored in many phases of the build since the bmake
integration.


# 291777 04-Dec-2015 bdrewery

MFC r289360,r289361,r289378,r289430,r289605,r289676:

r289360:
Add temporary workaround for .MAKE being applied to _worldtmp, since
r251750.
r289361:
Consider top-level targets to be .PHONY as bmake won't build them otherwise
if a file with the same name is found in the directory.
r289378:
Mark sub-make targets as .MAKE and .PHONY to handle -n and always-build
properly.
r289430:
Remove .MAKE from targets that do more than just run sub-makes, such as
calling rm or mtree.
r289605:
Add missing .PHONY for parallel subdir target.
r289676:
Add some missing '+', .MAKE, and .PHONY modifiers.


# 289248 13-Oct-2015 bdrewery

MFC r288391:

Fix the .MAKE added in r251750 to properly support the historical -n -n.


# 281836 21-Apr-2015 garga

MFC r270155, r274490, r274593, r274607

Add native-xtools target to stable/10

Differential Revision: https://reviews.freebsd.org/D2044
Reviewed by: sbruno@
Approved by: sbruno@
Sponsored by: Netgate


# 276281 27-Dec-2014 ian

MFC r265840: Eliminate spurious warnings when grep doesn't find NO_UNIVERSE


# 266383 17-May-2014 ian

MFC 265155, 265254:

Omit from the universe build all config files tagged with #NO_UNIVERSE.

Add FDT to the VYBRID kernel.


# 265449 06-May-2014 brooks

MFC r265097:

Merge from CheriBSD:

commit 1d1b908107255ffdff4d17f015d8f057d73cc6cb
Author: Brooks Davis <brooks@one-eyed-alien.net>
Date: Fri Mar 28 16:24:45 2014 +0000

Add a long needed seatbelt.

Exit with an error when make is called without a target at the top level
rather than poluting the source tree and causing use confusion in future
builds.

commit a9d9aa341b2f4308a227ab460ba85f1f287ad028
Author: Brooks Davis <brooks@one-eyed-alien.net>
Date: Tue Apr 29 16:06:12 2014 +0000

Simplify seatbelt added in 1d1b908 based in feedback.

Discussed with: imp@FreeBSD.org

Reviewed by: imp
Sponsored by: DARPA, AFRL


# 264996 26-Apr-2014 jmmv

MFC various moves of tools/regressions/ tests to the new infrastructure.

- r263220 Migrate tools/regression/sbin/ to the new tests layout.
- r263222 Add Makefile missed in r263220.
- r263226 Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout.
- r263227 Migrate most of tools/regression/usr.bin/ to the new tests layout.
- r263345 Expand tabs that sneaked in into spaces.
- r263346 Migrate tools/regression/usr.bin/make/ to the new tests layout.
- r263348 Add Makefiles missed in r263346.
- r263351 Migrate tools/regression/usr.bin/pkill/ to the new tests layout.
- r263388 Mark multi_test as requiring /usr/share/dict/words.
- r263814 Fix path to the run.pl script to let these tests run.
- r264742 Prevent building tests when bootstrapping make.

This is 'make tinderbox' clean.


# 264811 23-Apr-2014 brueffer

MFC: r264460

Document the xdev* targets.

PR: 188519
Submitted by: Idwer Vollering <vidwer at gmail.com>
Reviewed by: bapt


# 281836 21-Apr-2015 garga

MFC r270155, r274490, r274593, r274607

Add native-xtools target to stable/10

Differential Revision: https://reviews.freebsd.org/D2044
Reviewed by: sbruno@
Approved by: sbruno@
Sponsored by: Netgate


# 276281 27-Dec-2014 ian

MFC r265840: Eliminate spurious warnings when grep doesn't find NO_UNIVERSE


# 266383 17-May-2014 ian

MFC 265155, 265254:

Omit from the universe build all config files tagged with #NO_UNIVERSE.

Add FDT to the VYBRID kernel.


# 265449 06-May-2014 brooks

MFC r265097:

Merge from CheriBSD:

commit 1d1b908107255ffdff4d17f015d8f057d73cc6cb
Author: Brooks Davis <brooks@one-eyed-alien.net>
Date: Fri Mar 28 16:24:45 2014 +0000

Add a long needed seatbelt.

Exit with an error when make is called without a target at the top level
rather than poluting the source tree and causing use confusion in future
builds.

commit a9d9aa341b2f4308a227ab460ba85f1f287ad028
Author: Brooks Davis <brooks@one-eyed-alien.net>
Date: Tue Apr 29 16:06:12 2014 +0000

Simplify seatbelt added in 1d1b908 based in feedback.

Discussed with: imp@FreeBSD.org

Reviewed by: imp
Sponsored by: DARPA, AFRL


# 264996 26-Apr-2014 jmmv

MFC various moves of tools/regressions/ tests to the new infrastructure.

- r263220 Migrate tools/regression/sbin/ to the new tests layout.
- r263222 Add Makefile missed in r263220.
- r263226 Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout.
- r263227 Migrate most of tools/regression/usr.bin/ to the new tests layout.
- r263345 Expand tabs that sneaked in into spaces.
- r263346 Migrate tools/regression/usr.bin/make/ to the new tests layout.
- r263348 Add Makefiles missed in r263346.
- r263351 Migrate tools/regression/usr.bin/pkill/ to the new tests layout.
- r263388 Mark multi_test as requiring /usr/share/dict/words.
- r263814 Fix path to the run.pl script to let these tests run.
- r264742 Prevent building tests when bootstrapping make.

This is 'make tinderbox' clean.


# 264811 23-Apr-2014 brueffer

MFC: r264460

Document the xdev* targets.

PR: 188519
Submitted by: Idwer Vollering <vidwer at gmail.com>
Reviewed by: bapt