Add afterbuild target to bsd.prog.mk.
Afterbuild target allows to perform operations on fully built binary. This is needed to allow for ELF feature flags modification during world build. Submitted by: Dawid Gorecki <dgr@semihalf.com> Reviewed by: imp Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D29551
This commit is contained in:
parent
4a27bf128b
commit
7c8d38112d
@ -232,7 +232,12 @@ MAN1= ${MAN}
|
|||||||
.if defined(_SKIP_BUILD)
|
.if defined(_SKIP_BUILD)
|
||||||
all:
|
all:
|
||||||
.else
|
.else
|
||||||
|
.if target(afterbuild)
|
||||||
|
.ORDER: ${PROG} afterbuild
|
||||||
|
all: ${PROG} ${SCRIPTS} afterbuild
|
||||||
|
.else
|
||||||
all: ${PROG} ${SCRIPTS}
|
all: ${PROG} ${SCRIPTS}
|
||||||
|
.endif
|
||||||
.if ${MK_MAN} != "no"
|
.if ${MK_MAN} != "no"
|
||||||
all: all-man
|
all: all-man
|
||||||
.endif
|
.endif
|
||||||
|
Loading…
Reference in New Issue
Block a user