aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/string/Makefile.inc
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-01-20 03:23:24 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-01-20 03:23:24 +0000
commitd0fd0203fb0c132aa8665f8d8e19669edd40563a (patch)
tree5c6402748992252e0f358a84e3d2eed01ef3820d /lib/libc/string/Makefile.inc
parent6b02cd2c8fda7bc35e89adc27ec0768f9a7e857b (diff)
downloadsrc-d0fd0203fb0c132aa8665f8d8e19669edd40563a.tar.gz
src-d0fd0203fb0c132aa8665f8d8e19669edd40563a.zip
Replace dot-dot relative pathing with SRCTOP-relative paths where possible
This reduces build output, need for recalculating paths, and makes it clearer which paths are relative to what areas in the source tree. The change in performance over a locally mounted UFS filesystem was negligible in my testing, but this may more positively impact other filesystems like NFS. LIBC_SRCTOP was left alone so Juniper (and other users) can continue to manipulate lib/libc/Makefile (and other Makefile.inc's under lib/libc) as include Makefiles with custom options. Discussed with: marcel, sjg MFC after: 1 week Reviewed by: emaste Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D9207
Notes
Notes: svn path=/head/; revision=312451
Diffstat (limited to 'lib/libc/string/Makefile.inc')
-rw-r--r--lib/libc/string/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/string/Makefile.inc b/lib/libc/string/Makefile.inc
index 7b2b9b734808..d8ade45e491a 100644
--- a/lib/libc/string/Makefile.inc
+++ b/lib/libc/string/Makefile.inc
@@ -2,7 +2,7 @@
# $FreeBSD$
.PATH: ${LIBC_SRCTOP}/${LIBC_ARCH}/string ${LIBC_SRCTOP}/string
-.PATH: ${LIBC_SRCTOP}/../../sys/libkern
+.PATH: ${SRCTOP}/sys/libkern
CFLAGS+= -I${LIBC_SRCTOP}/locale