Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2017 22:50:19 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r324879 - in head/sys/boot: geli powerpc/boot1.chrp
Message-ID:  <201710222250.v9MMoJMM001719@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710222250.v9MMoJMM001719>