
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
30 lines
668 B
Makefile
30 lines
668 B
Makefile
# rts sources
|
|
HERE=${NETBSDSRCDIR}/minix/lib/libc/arch/${ARCHSUBDIR}/sys
|
|
.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 \
|
|
ipc_minix_kerninfo.S \
|
|
ucontext.S
|
|
|
|
ucontextoffsets.h: ${CF}
|
|
ucontextoffsets.h: ${NETBSDSRCDIR}/sys/sys/ucontext.h
|
|
ucontextoffsets.h: ${NETBSDSRCDIR}/minix/include/arch/${MACHINE_ARCH}/include/stackframe.h
|
|
ucontextoffsets.h:
|
|
${_MKTARGET_CREATE}
|
|
${TOOL_CAT} ${CF} | \
|
|
${TOOL_GENASSYM} -- ${CC} ${CFLAGS:N-Wa,*} \
|
|
${CPPFLAGS} ${PROF} ${GENASSYM_CPPFLAGS} >$TMP && \
|
|
mv -f $TMP $@
|
|
|