diff options
author | ngie <ngie@FreeBSD.org> | 2017-02-04 17:17:38 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-02-04 17:17:38 +0000 |
commit | 6fc08ca591dde976e62527c2fe2809adb98649d8 (patch) | |
tree | b64d17a12dcc077687e1dc4af7a4a82b654b6ac9 /lib/libc/sys | |
parent | 3fd08b156edf5c195975e18f99f60667d32f0a3c (diff) | |
download | FreeBSD-src-6fc08ca591dde976e62527c2fe2809adb98649d8.zip FreeBSD-src-6fc08ca591dde976e62527c2fe2809adb98649d8.tar.gz |
MFC r312332,r312446,r312451:
r312332:
Use SRCTOP where possible and use :H to manipulate .CURDIR to get rid of
unnecessarily long relative path .PATH values with make
r312446 (by emaste):
libc: remove reference to nonexistent lib/locale directory
As far as I can tell this was introduced in r72406 and updated in several
subsequent revisions, but the lib/locale directory it referenced never
existed.
r312451:
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
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc index 623216c..ac1bb11 100644 --- a/lib/libc/sys/Makefile.inc +++ b/lib/libc/sys/Makefile.inc @@ -6,7 +6,7 @@ # Include the generated makefile containing the *complete* list # of syscall names in MIASM. -.include "${LIBC_SRCTOP}/../../sys/sys/syscall.mk" +.include "${SRCTOP}/sys/sys/syscall.mk" # Include machine dependent definitions. # |