svn commit: r312510 - head/lib/libelf

Ngie Cooper ngie at FreeBSD.org
Fri Jan 20 04:54:11 UTC 2017


Author: ngie
Date: Fri Jan 20 04:54:09 2017
New Revision: 312510
URL: https://svnweb.freebsd.org/changeset/base/312510

Log:
  Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
  
  This simplifies pathing in make/displayed output
  
  MFC after:    3 weeks
  Sponsored by: Dell EMC Isilon

Modified:
  head/lib/libelf/Makefile

Modified: head/lib/libelf/Makefile
==============================================================================
--- head/lib/libelf/Makefile	Fri Jan 20 04:53:50 2017	(r312509)
+++ head/lib/libelf/Makefile	Fri Jan 20 04:54:09 2017	(r312510)
@@ -82,7 +82,7 @@ CLEANFILES=	${GENSRCS}
 CLEANDIRS=	sys
 CFLAGS+=	-I. -I${SRCDIR} -I${ELFTCDIR}/common
 
-sys/elf32.h sys/elf64.h sys/elf_common.h: ${.CURDIR}/../../sys/${.TARGET} .NOMETA
+sys/elf32.h sys/elf64.h sys/elf_common.h: ${SRCTOP}/sys/${.TARGET} .NOMETA
 	mkdir -p ${.OBJDIR}/sys
 	ln -sf ${.ALLSRC} ${.TARGET}
 


More information about the svn-src-all mailing list