#
320295 |
|
23-Jun-2017 |
bdrewery |
MFC r319862,r319996,r320030:
r319862: META_MODE: Show .ERROR_CMD in error. r319996: WITH_META_MODE: Don't try showing command if .ERROR_META_FILE is empty. r320030: WITH_META_MODE: End each ERROR_CMD CMD line with ';'.
Approved by: re (gjb, marius)
|
#
320294 |
|
23-Jun-2017 |
bdrewery |
MFC r320012,r320028,r320061,r320118:
r320012: Fix LIBAMU location to fix 'stale .depend' rebuilds in usr.sbin/amd. r320028: Fix more incorrect library directories fix 'stale .depend' rebuilds. r320061: Fix Makefiles which override LIBDIR to not add incorrect dependencies into .depend. r320118: Follow-up r320061: Need to respect make.conf/env LIBDIR overrides.
Approved by: re (gjb)
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
301889 |
|
14-Jun-2016 |
bdrewery |
WITH_META_MODE: Enable printing of some of make's environment on error.
This will print a set of variables from make on error using MAKE_PRINT_VAR_ON_ERROR. It is already enabled for the DIRDEPS_BUILD. It may make sense to enable this in the non-meta mode as well once people are more used to its more verbose error output.
This makes it much simpler to see which .meta file is used when a command files so that it may be inspected for the build command.
Suggested by: sjg Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
|
#
297995 |
|
14-Apr-2016 |
bdrewery |
Follow-up r297835: Let the intented default cookie work.
This happened to work for not prepending .OBJDIR twice but broke the other case of prepending it when needed.
Pointyhat to: bdrewery Sponsored by: EMC / Isilon Storage Division
|
#
297994 |
|
14-Apr-2016 |
bdrewery |
Rework META_TARGETS so that it automatically adds META_DEPS to the targets.
This will only be done if the target is defined, so if the target is defined after bsd.sys.mk is included then it needs to manually add ${META_DEPS} still.
Sponsored by: EMC / Isilon Storage Division
|
#
297835 |
|
11-Apr-2016 |
bdrewery |
META_MODE: Support targets that already have .OBJDIR in them for META_COOKIE.
Sponsored by: EMC / Isilon Storage Division
|
#
297454 |
|
31-Mar-2016 |
bdrewery |
Define OBJTOP earlier if possible for use in targets.
Sponsored by: EMC / Isilon Storage Division
|
#
296809 |
|
13-Mar-2016 |
bdrewery |
Follow-up r296700: Fix incorrectly declaring these as .MAIN.
This broke bootstrap-tools at least for DIRDEPS_BUILD.
Sponsored by: EMC / Isilon Storage Division
|
#
296701 |
|
11-Mar-2016 |
bdrewery |
META_MODE: We can only use a cookie if filemon is being used.
Sponsored by: EMC / Isilon Storage Divsion
|
#
296700 |
|
11-Mar-2016 |
bdrewery |
META_MODE: Simplify the META_COOKIE handling to use .USE/.USEBEFORE.
Extend it to other cases of meta mode cookies so they get the proper rm cookie behavior when a .meta file detects it needs to rebuild and fails.
Sponsored by: EMC / Isilon Storage Division
|
#
296690 |
|
11-Mar-2016 |
bdrewery |
DIRDEPS_BUILD: Remove the cookie when target is out-of-date.
The meta file may decide the target is out of date but nothing ensures that the *next* build will build this target if it fails this time for some reason; it is still out-of-date until it succeeds.
Convert the include/ cookie usage to the global versions.
Sponsored by: EMC / Isilon Storage Division
|
#
294349 |
|
19-Jan-2016 |
bdrewery |
Define .MAKE.MODE to normal to avoid the need for :U later.
Sponsored by: EMC / Isilon Storage Division
|
#
291318 |
|
25-Nov-2015 |
bdrewery |
META MODE: Show PATH on errors.
Sponsored by: EMC / Isilon Storage Division
|
#
290816 |
|
14-Nov-2015 |
sjg |
Rename META_MODE option to DIRDEPS_BUILD
This allows META_FILES option to be renamed META_MODE. Also add META_COOKIE_TOUCH for use in targets that can benefit from a cookie when in meta mode.
Differential Revision: https://reviews.freebsd.org/D4153 Reviewed by: bdrewery
|
#
284598 |
|
19-Jun-2015 |
sjg |
Move include of make.conf back to its old position.
This means moving include of local.sys.mk and src.sys.mk too. Introduce new includes to take the early slot, for the purpose of being able to influence toolchains and the like.
Differential Revision: D2860 Reviewed by: imp
|
#
284430 |
|
15-Jun-2015 |
sjg |
Skip MAKE_PRINT_VAR_ON_ERROR unless we are doing META_MODE with all the recursion in normal build it is too much noise.
|
#
284345 |
|
13-Jun-2015 |
sjg |
Add META_MODE support.
Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796 Reviewed by: brooks imp
|