svn commit: r324879 - in head/sys/boot: geli powerpc/boot1.chrp

Warner Losh imp at FreeBSD.org
Sun Oct 22 22:50:21 UTC 2017


Author: imp
Date: Sun Oct 22 22:50:19 2017
New Revision: 324879
URL: https://svnweb.freebsd.org/changeset/base/324879

Log:
  Prefer SRCTOP paths for bits we're grabbing from libc.
  
  Sponsored by: Netflix

Modified:
  head/sys/boot/geli/Makefile
  head/sys/boot/powerpc/boot1.chrp/Makefile

Modified: head/sys/boot/geli/Makefile
==============================================================================
--- head/sys/boot/geli/Makefile	Sun Oct 22 22:50:15 2017	(r324878)
+++ head/sys/boot/geli/Makefile	Sun Oct 22 22:50:19 2017	(r324879)
@@ -21,7 +21,7 @@ CFLAGS+=        -m32
 WARNS?=		0
 
 # string functions from libc
-.PATH: ${.CURDIR}/../../../lib/libc/string
+.PATH: ${SRCTOP}/lib/libc/string
 SRCS+=  bcmp.c bcopy.c bzero.c
 
 # Our password input method

Modified: head/sys/boot/powerpc/boot1.chrp/Makefile
==============================================================================
--- head/sys/boot/powerpc/boot1.chrp/Makefile	Sun Oct 22 22:50:15 2017	(r324878)
+++ head/sys/boot/powerpc/boot1.chrp/Makefile	Sun Oct 22 22:50:19 2017	(r324879)
@@ -19,7 +19,7 @@ LDFLAGS=-nostdlib -static -Wl,-N
 
 .include "../Makefile.inc"
 
-.PATH:  ${.CURDIR}/../../../libkern ${.CURDIR}/../../../../lib/libc/powerpc/gen ${.CURDIR}
+.PATH:  ${.CURDIR}/../../../libkern ${SRCTOP}/lib/libc/powerpc/gen ${.CURDIR}
 
 # The following inserts out objects into a template HFS 
 # created by generate-hfs.sh


More information about the svn-src-head mailing list