META_MODE: Delete build targets that fail.
If a meta mode change is triggered but then the build fails then the next build will not retrigger meta mode. This only prevented by removing the target on rebuild or on the failure to rebuild. Sponsored by: DellEMC
This commit is contained in:
parent
48da57b47f
commit
9e0a1e78e5
@ -33,6 +33,11 @@ MAKE_PRINT_VAR_ON_ERROR+= \
|
||||
OBJTOP \
|
||||
${MAKE_PRINT_VAR_ON_ERROR_XTRAS}
|
||||
|
||||
# Meta mode may rebuild targets that then fail. The next build won't detect
|
||||
# the meta mode change. Not all targets have a 'rm ${.TARGET}' in them
|
||||
# so force it.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
.if ${.MAKE.LEVEL} > 0
|
||||
MAKE_PRINT_VAR_ON_ERROR += .MAKE.MAKEFILES .PATH
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user