Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
8c24fa95
Commit
8c24fa95
authored
Mar 18, 2010
by
Alex Brainman
Committed by
Rob Pike
Mar 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix src/pkg/syscall/mkall.sh: don't assume that . is on PATH.
R=golang-dev, r CC=golang-dev
https://golang.org/cl/614042
parent
332ff67e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
mkall.sh
src/pkg/syscall/mkall.sh
+19
-19
No files found.
src/pkg/syscall/mkall.sh
View file @
8c24fa95
...
...
@@ -76,8 +76,8 @@
GOOSARCH
=
"
${
GOOS
}
_
${
GOARCH
}
"
# defaults
mksyscall
=
"mksyscall.sh"
mkerrors
=
"mkerrors.sh"
mksyscall
=
"
./
mksyscall.sh"
mkerrors
=
"
./
mkerrors.sh"
run
=
"sh"
case
"
$1
"
in
...
...
@@ -100,52 +100,52 @@ _* | *_ | _)
exit
1
;;
freebsd_386
)
mksyscall
=
"mksyscall.sh -l32"
mksysnum
=
"mksysnum_freebsd.sh /usr/src/sys/kern/syscalls.master"
mksyscall
=
"
./
mksyscall.sh -l32"
mksysnum
=
"
./
mksysnum_freebsd.sh /usr/src/sys/kern/syscalls.master"
mktypes
=
"godefs -gsyscall -f-m32"
;;
freebsd_amd64
)
mksysnum
=
"mksysnum_freebsd.sh /usr/src/sys/kern/syscalls.master"
mksysnum
=
"
./
mksysnum_freebsd.sh /usr/src/sys/kern/syscalls.master"
mktypes
=
"godefs -gsyscall -f-m64"
;;
darwin_386
)
mksyscall
=
"mksyscall.sh -l32"
mksysnum
=
"mksysnum_darwin.sh /home/rsc/pub/xnu-1228/bsd/kern/syscalls.master"
mksyscall
=
"
./
mksyscall.sh -l32"
mksysnum
=
"
./
mksysnum_darwin.sh /home/rsc/pub/xnu-1228/bsd/kern/syscalls.master"
mktypes
=
"godefs -gsyscall -f-m32"
;;
darwin_amd64
)
mksysnum
=
"mksysnum_darwin.sh /home/rsc/pub/xnu-1228/bsd/kern/syscalls.master"
mksysnum
=
"
./
mksysnum_darwin.sh /home/rsc/pub/xnu-1228/bsd/kern/syscalls.master"
mktypes
=
"godefs -gsyscall -f-m64"
mkerrors
=
"mkerrors.sh"
mkerrors
=
"
./
mkerrors.sh"
;;
linux_386
)
mksyscall
=
"mksyscall.sh -l32"
mksysnum
=
"mksysnum_linux.sh /usr/include/asm/unistd_32.h"
mksyscall
=
"
./
mksyscall.sh -l32"
mksysnum
=
"
./
mksysnum_linux.sh /usr/include/asm/unistd_32.h"
mktypes
=
"godefs -gsyscall -f-m32"
;;
linux_amd64
)
mksysnum
=
"mksysnum_linux.sh /usr/include/asm/unistd_64.h"
mksysnum
=
"
./
mksysnum_linux.sh /usr/include/asm/unistd_64.h"
mktypes
=
"godefs -gsyscall -f-m64"
;;
nacl_386
)
NACL
=
"/home/rsc/pub/nacl/native_client"
NACLRUN
=
"
$NACL
/src/trusted/service_runtime"
NACLSDK
=
"
$NACL
/src/third_party/nacl_sdk/linux/sdk/nacl-sdk/nacl"
mksyscall
=
"mksyscall.sh -l32"
mksysnum
=
"mksysnum_nacl.sh
$NACLRUN
/include/bits/nacl_syscalls.h"
mksyscall
=
"
./
mksyscall.sh -l32"
mksysnum
=
"
./
mksysnum_nacl.sh
$NACLRUN
/include/bits/nacl_syscalls.h"
mktypes
=
"godefs -gsyscall -f-m32 -f-I
$NACLSDK
/include -f-I
$NACL
"
mkerrors
=
"mkerrors_nacl.sh
$NACLRUN
/include/sys/errno.h"
mkerrors
=
"
./
mkerrors_nacl.sh
$NACLRUN
/include/sys/errno.h"
;;
linux_arm
)
ARM
=
"/home/kaib/public/linux-2.6.28"
mksyscall
=
"mksyscall.sh -l32"
mksysnum
=
"mksysnum_linux.sh
$ARM
/arch/arm/include/asm/unistd.h"
mksyscall
=
"
./
mksyscall.sh -l32"
mksysnum
=
"
./
mksysnum_linux.sh
$ARM
/arch/arm/include/asm/unistd.h"
//
mktypes
=
"godefs -gsyscall -carm-gcc -f-I
$ARM
/arch/arm/include -f-I
$ARM
/include -f-D__deprecated='' -f-I
$ARM
/arch/arm/mach-at91/include -f-DCONFIG_ARCH_AT91SAM9260 "
mktypes
=
"godefs -gsyscall -carm-gcc"
mkerrors
=
"mkerrors.sh"
mkerrors
=
"
./
mkerrors.sh"
;;
mingw_386
)
mksyscall
=
"mksyscall_mingw.sh -l32"
mksyscall
=
"
./
mksyscall_mingw.sh -l32"
mksysnum
=
mktypes
=
mkerrors
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment