* Also change _orig to _intr for clarity
* Cleaned up {IPC,KER}VEC
* Renamed _minix_kernel_info_struct to get_minix_kerninfo
* Merged _senda.S into _ipc.S
* Moved into separate files get_minix_kerninfo and _do_kernel_call
* Adapted do_kernel_call to follow same _ convention as ipc functions
* Drop patches in libc/net/send.c and libc/include/namespace.h
Change-Id: If4ea21ecb65435170d7d87de6c826328e84c18d0
29 lines
589 B
Makefile
29 lines
589 B
Makefile
# rts sources
|
|
HERE=${ARCHDIR}/sys-minix
|
|
.PATH: ${HERE}
|
|
|
|
TMP=ucontextoffsets.h.tmp
|
|
CF=${HERE}/ucontextoffsets.cf
|
|
|
|
INCS+=ucontextoffsets.h
|
|
|
|
ucontext.o: ucontextoffsets.h
|
|
|
|
SRCS+= \
|
|
__sigreturn.S \
|
|
_do_kernel_call_intr.S \
|
|
_ipc.S \
|
|
brksize.S \
|
|
get_minix_kerninfo.S \
|
|
ucontext.S
|
|
|
|
ucontextoffsets.h: ${CF}
|
|
ucontextoffsets.h: ${NETBSDSRCDIR}/sys/sys/ucontext.h
|
|
ucontextoffsets.h: ${NETBSDSRCDIR}/include/arch/${MACHINE_ARCH}/include/stackframe.h
|
|
ucontextoffsets.h:
|
|
${_MKTARGET_CREATE}
|
|
cat ${CF} | \
|
|
${TOOL_GENASSYM} -- ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} >$TMP && \
|
|
mv -f $TMP $@
|
|
|