Module Name: src Committed By: pooka Date: Tue Mar 8 18:29:50 UTC 2011
Modified Files: src/sys/kern: makesyscalls.sh Log Message: Include syscall.h and syscallargs.h from <srcsys> instead of <sys> in the RUMP_CLIENT case. This makes librumpclient compile against -current sources regardless of host. inspired by Taylor R Campbell To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 src/sys/kern/makesyscalls.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/makesyscalls.sh diff -u src/sys/kern/makesyscalls.sh:1.116 src/sys/kern/makesyscalls.sh:1.117 --- src/sys/kern/makesyscalls.sh:1.116 Tue Feb 22 14:08:58 2011 +++ src/sys/kern/makesyscalls.sh Tue Mar 8 18:29:49 2011 @@ -1,5 +1,5 @@ #! /bin/sh - -# $NetBSD: makesyscalls.sh,v 1.116 2011/02/22 14:08:58 pooka Exp $ +# $NetBSD: makesyscalls.sh,v 1.117 2011/03/08 18:29:49 pooka Exp $ # # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou # All rights reserved. @@ -220,15 +220,17 @@ printf "#include <sys/param.h>\n" > rumpcalls printf "#include <sys/fstypes.h>\n" > rumpcalls printf "#include <sys/proc.h>\n" > rumpcalls - printf "#include <sys/syscall.h>\n" > rumpcalls - printf "#include <sys/syscallargs.h>\n\n" > rumpcalls printf "#ifdef RUMP_CLIENT\n" > rumpcalls + printf "#include <srcsys/syscall.h>\n" > rumpcalls + printf "#include <srcsys/syscallargs.h>\n\n" > rumpcalls printf "#include <errno.h>\n" > rumpcalls printf "#include <rump/rumpclient.h>\n\n" > rumpcalls printf "#define rsys_syscall(num, data, dlen, retval)\t\\\n" > rumpcalls printf " rumpclient_syscall(num, data, dlen, retval)\n" > rumpcalls printf "#define rsys_seterrno(error) errno = error\n" > rumpcalls printf "#define rsys_alias(a,b)\n#else\n" > rumpcalls + printf "#include <sys/syscall.h>\n" > rumpcalls + printf "#include <sys/syscallargs.h>\n\n" > rumpcalls printf "#include <sys/syscallvar.h>\n\n" > rumpcalls printf "#include <rump/rumpuser.h>\n" > rumpcalls printf "#include \"rump_private.h\"\n\n" > rumpcalls