git: 2d78130185b5 - main - Add missing dep patterns for .pieo

Alex Richardson arichardson at FreeBSD.org
Mon Sep 13 12:22:52 UTC 2021


The branch main has been updated by arichardson:

URL: https://cgit.FreeBSD.org/src/commit/?id=2d78130185b5518e0bdb4a2f3c5d5ede6773312d

commit 2d78130185b5518e0bdb4a2f3c5d5ede6773312d
Author:     Alex Richardson <arichardson at FreeBSD.org>
AuthorDate: 2021-09-13 12:22:07 +0000
Commit:     Alex Richardson <arichardson at FreeBSD.org>
CommitDate: 2021-09-13 12:22:31 +0000

    Add missing dep patterns for .pieo
    
    While adding sanitizer support, I noticed that all other extensions were
    handled but .pieo was missing.
    
    Reviewed By:    emaste, imp
    MFC after:      1 week
    
    Differential Revision: https://reviews.freebsd.org/D31040
---
 share/mk/bsd.dep.mk       | 5 ++++-
 share/mk/local.autodep.mk | 3 ++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk
index b8dc59d52543..d1bbdd722c1b 100644
--- a/share/mk/bsd.dep.mk
+++ b/share/mk/bsd.dep.mk
@@ -170,10 +170,13 @@ ${_D}.o: ${_DSRC} ${OBJS:S/^${_D}.o$//}
 	@rm -f ${.TARGET}
 	${DTRACE} ${DTRACEFLAGS} -G -o ${.TARGET} -s ${.ALLSRC:N*.h}
 .if defined(LIB)
-CLEANFILES+= ${_D}.pico ${_D}.po ${_D}.nossppico
+CLEANFILES+= ${_D}.pico ${_D}.pieo ${_D}.po ${_D}.nossppico
 ${_D}.pico: ${_DSRC} ${SOBJS:S/^${_D}.pico$//}
 	@rm -f ${.TARGET}
 	${DTRACE} ${DTRACEFLAGS} -G -o ${.TARGET} -s ${.ALLSRC:N*.h}
+${_D}.pieo: ${_DSRC} ${OBJS:S/^${_D}.pieo$//}
+	@rm -f ${.TARGET}
+	${DTRACE} ${DTRACEFLAGS} -G -o ${.TARGET} -s ${.ALLSRC:N*.h}
 ${_D}.po: ${_DSRC} ${POBJS:S/^${_D}.po$//}
 	@rm -f ${.TARGET}
 	${DTRACE} ${DTRACEFLAGS} -G -o ${.TARGET} -s ${.ALLSRC:N*.h}
diff --git a/share/mk/local.autodep.mk b/share/mk/local.autodep.mk
index ee73b23aadcf..0e14d844fcff 100644
--- a/share/mk/local.autodep.mk
+++ b/share/mk/local.autodep.mk
@@ -9,7 +9,8 @@ UPDATE_DEPENDFILE= no
 .endif
 
 NOSSPPICO?= .nossppico
-OBJ_EXTENSIONS+= ${NOSSPPICO}
+PIEO?= .pieo
+OBJ_EXTENSIONS+= ${NOSSPPICO} ${PIEO}
 
 CFLAGS+= ${CFLAGS_LAST}
 CXXFLAGS+= ${CXXFLAGS_LAST}


More information about the dev-commits-src-all mailing list