
spinlocks have been changed to use the new semacquire/semrelease syscalls in combination with atomic compare and swap operations.
35 lines
399 B
Makefile
35 lines
399 B
Makefile
objtype=arm
|
|
</$objtype/mkfile
|
|
|
|
LIB=/$objtype/lib/libc.a
|
|
SFILES=\
|
|
argv0.s\
|
|
atom.s\
|
|
div.s\
|
|
getcallerpc.s\
|
|
getfcr.s\
|
|
main9.s\
|
|
main9p.s\
|
|
memmove.s\
|
|
memset.s\
|
|
setjmp.s\
|
|
strchr.s\
|
|
strcmp.s\
|
|
strcpy.s\
|
|
tas.s\
|
|
vlop.s\
|
|
|
|
CFILES=\
|
|
notejmp.c\
|
|
vlrt.c\
|
|
|
|
HFILES=/sys/include/libc.h
|
|
|
|
OFILES=${CFILES:%.c=%.$O} ${SFILES:%.s=%.$O}
|
|
|
|
UPDATE=mkfile\
|
|
$HFILES\
|
|
$CFILES\
|
|
$SFILES\
|
|
|
|
</sys/src/cmd/mksyslib
|