svn commit: r264155 - in head: lib/libc/amd64/sys lib/libc/arm/sys lib/libc/i386/sys lib/libc/ia64/sys lib/libc/mips/sys lib/libc/powerpc/sys lib/libc/powerpc64/sys lib/libc/sparc64/sys lib/libc/sy...

Warner Losh imp at FreeBSD.org
Sat Apr 5 17:54:46 UTC 2014


Author: imp
Date: Sat Apr  5 17:54:43 2014
New Revision: 264155
URL: http://svnweb.freebsd.org/changeset/base/264155

Log:
  Convert from WITHOUT_SYSCALL_COMPAT to MK_SYSCALL_COMPAT.

Modified:
  head/lib/libc/amd64/sys/Makefile.inc
  head/lib/libc/arm/sys/Makefile.inc
  head/lib/libc/i386/sys/Makefile.inc
  head/lib/libc/ia64/sys/Makefile.inc
  head/lib/libc/mips/sys/Makefile.inc
  head/lib/libc/powerpc/sys/Makefile.inc
  head/lib/libc/powerpc64/sys/Makefile.inc
  head/lib/libc/sparc64/sys/Makefile.inc
  head/lib/libc/sys/Makefile.inc
  head/lib/libthr/Makefile
  head/share/mk/bsd.own.mk

Modified: head/lib/libc/amd64/sys/Makefile.inc
==============================================================================
--- head/lib/libc/amd64/sys/Makefile.inc	Sat Apr  5 17:54:36 2014	(r264154)
+++ head/lib/libc/amd64/sys/Makefile.inc	Sat Apr  5 17:54:43 2014	(r264155)
@@ -11,6 +11,6 @@ MDASM=	vfork.S brk.S cerror.S exect.S ge
 NOASM=	break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.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
 .endif

Modified: head/lib/libc/arm/sys/Makefile.inc
==============================================================================
--- head/lib/libc/arm/sys/Makefile.inc	Sat Apr  5 17:54:36 2014	(r264154)
+++ head/lib/libc/arm/sys/Makefile.inc	Sat Apr  5 17:54:43 2014	(r264155)
@@ -8,6 +8,6 @@ MDASM= Ovfork.S brk.S cerror.S pipe.S pt
 NOASM=	break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.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
 .endif

Modified: head/lib/libc/i386/sys/Makefile.inc
==============================================================================
--- head/lib/libc/i386/sys/Makefile.inc	Sat Apr  5 17:54:36 2014	(r264154)
+++ head/lib/libc/i386/sys/Makefile.inc	Sat Apr  5 17:54:43 2014	(r264155)
@@ -15,7 +15,7 @@ MDASM=	Ovfork.S brk.S cerror.S exect.S g
 NOASM=	break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.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
 .endif
 

Modified: head/lib/libc/ia64/sys/Makefile.inc
==============================================================================
--- head/lib/libc/ia64/sys/Makefile.inc	Sat Apr  5 17:54:36 2014	(r264154)
+++ head/lib/libc/ia64/sys/Makefile.inc	Sat Apr  5 17:54:43 2014	(r264155)
@@ -9,6 +9,6 @@ MDASM+=	Ovfork.S brk.S cerror.S exect.S 
 NOASM=	break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.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
 .endif

Modified: head/lib/libc/mips/sys/Makefile.inc
==============================================================================
--- head/lib/libc/mips/sys/Makefile.inc	Sat Apr  5 17:54:36 2014	(r264154)
+++ head/lib/libc/mips/sys/Makefile.inc	Sat Apr  5 17:54:43 2014	(r264155)
@@ -10,6 +10,6 @@ NOASM=	break.o exit.o ftruncate.o getlog
 	openbsd_poll.o pread.o pwrite.o sstk.o truncate.o vfork.o yield.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
 .endif

Modified: head/lib/libc/powerpc/sys/Makefile.inc
==============================================================================
--- head/lib/libc/powerpc/sys/Makefile.inc	Sat Apr  5 17:54:36 2014	(r264154)
+++ head/lib/libc/powerpc/sys/Makefile.inc	Sat Apr  5 17:54:43 2014	(r264155)
@@ -6,6 +6,6 @@ MDASM+=	brk.S cerror.S exect.S pipe.S pt
 NOASM=	break.o exit.o getlogin.o openbsd_poll.o sstk.o yield.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
 .endif

Modified: head/lib/libc/powerpc64/sys/Makefile.inc
==============================================================================
--- head/lib/libc/powerpc64/sys/Makefile.inc	Sat Apr  5 17:54:36 2014	(r264154)
+++ head/lib/libc/powerpc64/sys/Makefile.inc	Sat Apr  5 17:54:43 2014	(r264155)
@@ -6,6 +6,6 @@ MDASM+=	brk.S cerror.S exect.S pipe.S pt
 NOASM=	break.o exit.o getlogin.o openbsd_poll.o sstk.o yield.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
 .endif

Modified: head/lib/libc/sparc64/sys/Makefile.inc
==============================================================================
--- head/lib/libc/sparc64/sys/Makefile.inc	Sat Apr  5 17:54:36 2014	(r264154)
+++ head/lib/libc/sparc64/sys/Makefile.inc	Sat Apr  5 17:54:43 2014	(r264155)
@@ -18,6 +18,6 @@ MDASM+=	brk.S cerror.S exect.S pipe.S pt
 NOASM=	break.o exit.o getlogin.o openbsd_poll.o sstk.o yield.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
 .endif

Modified: head/lib/libc/sys/Makefile.inc
==============================================================================
--- head/lib/libc/sys/Makefile.inc	Sat Apr  5 17:54:36 2014	(r264154)
+++ head/lib/libc/sys/Makefile.inc	Sat Apr  5 17:54:43 2014	(r264155)
@@ -21,7 +21,7 @@ PSEUDO+= _clock_gettime.o _gettimeofday.
 
 # Sources common to both syscall interfaces:
 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 \
 	pwrite.c truncate.c
 SRCS+=	${SYSCALL_COMPAT_SRCS}

Modified: head/lib/libthr/Makefile
==============================================================================
--- head/lib/libthr/Makefile	Sat Apr  5 17:54:36 2014	(r264154)
+++ head/lib/libthr/Makefile	Sat Apr  5 17:54:43 2014	(r264155)
@@ -60,7 +60,7 @@ SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthr
 SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a
 .endif
 
-.if !defined(WITHOUT_SYSCALL_COMPAT)
+.if ${MK_SYSCALL_COMPAT} != "no"
 CFLAGS+=-DSYSCALL_COMPAT
 .endif
 

Modified: head/share/mk/bsd.own.mk
==============================================================================
--- head/share/mk/bsd.own.mk	Sat Apr  5 17:54:36 2014	(r264154)
+++ head/share/mk/bsd.own.mk	Sat Apr  5 17:54:43 2014	(r264155)
@@ -334,6 +334,7 @@ __DEFAULT_YES_OPTIONS = \
     SSP \
     SVNLITE \
     SYMVER \
+    SYSCALL_COMPAT \
     SYSCONS \
     SYSINSTALL \
     TCSH \


More information about the svn-src-head mailing list