svn commit: r346800 - projects/runtime-coverage-v2

Enji Cooper ngie at FreeBSD.org
Sun Apr 28 02:24:23 UTC 2019


Author: ngie
Date: Sun Apr 28 02:24:22 2019
New Revision: 346800
URL: https://svnweb.freebsd.org/changeset/base/346800

Log:
  Handle installing the coverage libraries to the directory used by
  "make universe"

Modified:
  projects/runtime-coverage-v2/Makefile.inc1

Modified: projects/runtime-coverage-v2/Makefile.inc1
==============================================================================
--- projects/runtime-coverage-v2/Makefile.inc1	Sat Apr 27 23:47:14 2019	(r346799)
+++ projects/runtime-coverage-v2/Makefile.inc1	Sun Apr 28 02:24:22 2019	(r346800)
@@ -2724,13 +2724,16 @@ _coverage_libs+= lib/libclang_rt/profile
 .endif
 
 _target_toolchain_libs: .PHONY .MAKE
-.for _tool in \
+.for _lib in \
     ${_coverage_libs}
-	${_+_}@${ECHODIR} "===> ${_tool} (obj,all,install)"; \
-		cd ${.CURDIR}/${_tool}; \
-		if [ -z "${NO_OBJWALK}" ]; then ${MAKE} DIRPRFX=${_tool}/ obj; fi; \
-		${MAKE} DIRPRFX=${_tool}/ all; \
-		${MAKE} DIRPRFX=${_tool}/ DESTDIR=${WORLDTMP} install
+	${_+_}@${ECHODIR} "===> ${_lib} (obj,all,install)"; \
+		cd ${.CURDIR}/${_lib}; \
+		if [ -z "${NO_OBJWALK}" ]; then ${MAKE} DIRPRFX=${_lib}/ obj; fi; \
+		${MAKE} DIRPRFX=${_lib}/ all; \
+		${MAKE} DIRPRFX=${_lib}/ DESTDIR=${WORLDTMP} install; \
+		if [ -d "${HOST_OBJTOP}" ]; then \
+		    ${MAKE} DIRPRFX=${_lib}/ DESTDIR=${HOST_OBJTOP} install; \
+		fi
 .endfor
 
 #


More information about the svn-src-projects mailing list