Convert from WITHOUT_SYSCALL_COMPAT to MK_SYSCALL_COMPAT.
This commit is contained in:
parent
40b86d77c7
commit
a5fc5b6223
@ -11,6 +11,6 @@ MDASM= vfork.S brk.S cerror.S exect.S getcontext.S pipe.S ptrace.S \
|
|||||||
NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.o
|
NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.o
|
||||||
|
|
||||||
PSEUDO= _getlogin.o _exit.o
|
PSEUDO= _getlogin.o _exit.o
|
||||||
.if !defined(WITHOUT_SYSCALL_COMPAT)
|
.if ${MK_SYSCALL_COMPAT} != "no"
|
||||||
PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o
|
PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o
|
||||||
.endif
|
.endif
|
||||||
|
@ -8,6 +8,6 @@ MDASM= Ovfork.S brk.S cerror.S pipe.S ptrace.S sbrk.S shmat.S sigreturn.S syscal
|
|||||||
NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.o
|
NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.o
|
||||||
|
|
||||||
PSEUDO= _exit.o _getlogin.o
|
PSEUDO= _exit.o _getlogin.o
|
||||||
.if !defined(WITHOUT_SYSCALL_COMPAT)
|
.if ${MK_SYSCALL_COMPAT} != "no"
|
||||||
PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o
|
PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o
|
||||||
.endif
|
.endif
|
||||||
|
@ -15,7 +15,7 @@ MDASM= Ovfork.S brk.S cerror.S exect.S getcontext.S pipe.S ptrace.S \
|
|||||||
NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.o
|
NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.o
|
||||||
|
|
||||||
PSEUDO= _getlogin.o _exit.o
|
PSEUDO= _getlogin.o _exit.o
|
||||||
.if !defined(WITHOUT_SYSCALL_COMPAT)
|
.if ${MK_SYSCALL_COMPAT} != "no"
|
||||||
PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o
|
PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -9,6 +9,6 @@ MDASM+= Ovfork.S brk.S cerror.S exect.S fork.S getcontext.S pipe.S ptrace.S \
|
|||||||
NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.o
|
NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.o
|
||||||
|
|
||||||
PSEUDO= _getlogin.o _exit.o
|
PSEUDO= _getlogin.o _exit.o
|
||||||
.if !defined(WITHOUT_SYSCALL_COMPAT)
|
.if ${MK_SYSCALL_COMPAT} != "no"
|
||||||
PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o
|
PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o
|
||||||
.endif
|
.endif
|
||||||
|
@ -10,6 +10,6 @@ NOASM= break.o exit.o ftruncate.o getlogin.o lseek.o mmap.o \
|
|||||||
openbsd_poll.o pread.o pwrite.o sstk.o truncate.o vfork.o yield.o
|
openbsd_poll.o pread.o pwrite.o sstk.o truncate.o vfork.o yield.o
|
||||||
|
|
||||||
PSEUDO= _exit.o _getlogin.o
|
PSEUDO= _exit.o _getlogin.o
|
||||||
.if !defined(WITHOUT_SYSCALL_COMPAT)
|
.if ${MK_SYSCALL_COMPAT} != "no"
|
||||||
PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o
|
PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o
|
||||||
.endif
|
.endif
|
||||||
|
@ -6,6 +6,6 @@ MDASM+= brk.S cerror.S exect.S pipe.S ptrace.S sbrk.S setlogin.S
|
|||||||
NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o yield.o
|
NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o yield.o
|
||||||
|
|
||||||
PSEUDO= _getlogin.o _exit.o
|
PSEUDO= _getlogin.o _exit.o
|
||||||
.if !defined(WITHOUT_SYSCALL_COMPAT)
|
.if ${MK_SYSCALL_COMPAT} != "no"
|
||||||
PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o
|
PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o
|
||||||
.endif
|
.endif
|
||||||
|
@ -6,6 +6,6 @@ MDASM+= brk.S cerror.S exect.S pipe.S ptrace.S sbrk.S setlogin.S
|
|||||||
NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o yield.o
|
NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o yield.o
|
||||||
|
|
||||||
PSEUDO= _getlogin.o _exit.o
|
PSEUDO= _getlogin.o _exit.o
|
||||||
.if !defined(WITHOUT_SYSCALL_COMPAT)
|
.if ${MK_SYSCALL_COMPAT} != "no"
|
||||||
PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o
|
PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o
|
||||||
.endif
|
.endif
|
||||||
|
@ -18,6 +18,6 @@ MDASM+= brk.S cerror.S exect.S pipe.S ptrace.S sbrk.S setlogin.S sigaction.S
|
|||||||
NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o yield.o
|
NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o yield.o
|
||||||
|
|
||||||
PSEUDO= _getlogin.o _exit.o
|
PSEUDO= _getlogin.o _exit.o
|
||||||
.if !defined(WITHOUT_SYSCALL_COMPAT)
|
.if ${MK_SYSCALL_COMPAT} != "no"
|
||||||
PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o
|
PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o
|
||||||
.endif
|
.endif
|
||||||
|
@ -21,7 +21,7 @@ PSEUDO+= _clock_gettime.o _gettimeofday.o
|
|||||||
|
|
||||||
# Sources common to both syscall interfaces:
|
# Sources common to both syscall interfaces:
|
||||||
SRCS+= stack_protector.c stack_protector_compat.c __error.c
|
SRCS+= stack_protector.c stack_protector_compat.c __error.c
|
||||||
.if !defined(WITHOUT_SYSCALL_COMPAT)
|
.if ${MK_SYSCALL_COMPAT} != "no"
|
||||||
SYSCALL_COMPAT_SRCS= fcntl.c ftruncate.c lseek.c mmap.c pread.c \
|
SYSCALL_COMPAT_SRCS= fcntl.c ftruncate.c lseek.c mmap.c pread.c \
|
||||||
pwrite.c truncate.c
|
pwrite.c truncate.c
|
||||||
SRCS+= ${SYSCALL_COMPAT_SRCS}
|
SRCS+= ${SYSCALL_COMPAT_SRCS}
|
||||||
|
@ -60,7 +60,7 @@ SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so
|
|||||||
SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a
|
SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(WITHOUT_SYSCALL_COMPAT)
|
.if ${MK_SYSCALL_COMPAT} != "no"
|
||||||
CFLAGS+=-DSYSCALL_COMPAT
|
CFLAGS+=-DSYSCALL_COMPAT
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -334,6 +334,7 @@ __DEFAULT_YES_OPTIONS = \
|
|||||||
SSP \
|
SSP \
|
||||||
SVNLITE \
|
SVNLITE \
|
||||||
SYMVER \
|
SYMVER \
|
||||||
|
SYSCALL_COMPAT \
|
||||||
SYSCONS \
|
SYSCONS \
|
||||||
SYSINSTALL \
|
SYSINSTALL \
|
||||||
TCSH \
|
TCSH \
|
||||||
|
Loading…
Reference in New Issue
Block a user