libc: Move per-arch sys/Makefile.inc to libsys
libc/<arch>/sys/Makefile.inc -> libsys/<arch>/Makefile.sys. Require that libsys/<arch>/Makefile.sys exist. At least for current archtiectures, it's not possible for an architecture to not have and MD syscall bits. powerpcspe/Makefile.sys's structure means it had to be modified when moved so rename detection won't work, but it has trivial contents so the history is unimportant. Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908
This commit is contained in:
@@ -20,7 +20,10 @@ NOASM= exit.o \
|
||||
yield.o
|
||||
PSEUDO= _exit.o \
|
||||
_getlogin.o
|
||||
.sinclude "${LIBC_SRCTOP}/${LIBC_ARCH}/sys/Makefile.inc"
|
||||
.include "${LIBSYS_SRCTOP}/${LIBC_ARCH}/Makefile.sys"
|
||||
.if ${LIBC_ARCH} == "i386" || ${LIBC_ARCH} == "amd64"
|
||||
.include "${LIBSYS_SRCTOP}/x86/Makefile.sys"
|
||||
.endif
|
||||
|
||||
SRCS+= clock_gettime.c gettimeofday.c __vdso_gettimeofday.c
|
||||
NOASM+= clock_gettime.o gettimeofday.o
|
||||
|
||||
Reference in New Issue
Block a user