Move around opt_compat include to accomodate Linulator brokenness (for
the time being).
This commit is contained in:
parent
8438b90fd3
commit
0b3c4d50c2
@ -1,6 +1,6 @@
|
||||
#! /bin/sh -
|
||||
# @(#)makesyscalls.sh 8.1 (Berkeley) 6/10/93
|
||||
# $Id: makesyscalls.sh,v 1.27 1997/12/08 09:00:47 jmg Exp $
|
||||
# $Id: makesyscalls.sh,v 1.28 1997/12/16 17:40:22 eivind Exp $
|
||||
|
||||
set -e
|
||||
|
||||
@ -78,7 +78,7 @@ s/\$//g
|
||||
printf "/*\n * System call prototypes.\n *\n" > sysarg
|
||||
printf " * DO NOT EDIT-- this file is automatically generated.\n" > sysarg
|
||||
|
||||
printf "\n#include \"opt_compat.h\"\n#ifdef %s\n\n", compat > syscompat
|
||||
printf "\n#ifdef %s\n\n", compat > syscompat
|
||||
|
||||
printf "/*\n * System call names.\n *\n" > sysnames
|
||||
printf " * DO NOT EDIT-- this file is automatically generated.\n" > sysnames
|
||||
@ -93,8 +93,9 @@ s/\$//g
|
||||
gsub(" [$]", "", $0)
|
||||
|
||||
printf " * created from%s\n */\n\n", $0 > sysinc
|
||||
printf "#include \"opt_compat.h\"\n\n" > sysinc
|
||||
|
||||
printf "\n#include \"opt_compat.h\"\n#ifdef %s\n", compat > sysent
|
||||
printf "\n#ifdef %s\n", compat > sysent
|
||||
printf "#define compat(n, name) n, (sy_call_t *)__CONCAT(o,name)\n" > sysent
|
||||
printf("#else\n") > sysent
|
||||
printf("#define compat(n, name) 0, (sy_call_t *)nosys\n") > sysent
|
||||
|
Loading…
Reference in New Issue
Block a user