e0c47ee162
Deal with the need to save/restore T8 (CURLWP) across arcbios calls. Call arcbios with O32 ABI conventions even if kernel/bootloader is N32/N64.
14 lines
409 B
Makefile
14 lines
409 B
Makefile
# $NetBSD: Makefile.inc,v 1.1 2011/02/20 08:02:46 matt Exp $
|
|
|
|
GENASSYM_CONF= ${S}/dev/arcbios/genassym.cf
|
|
|
|
.if !target(assym.h)
|
|
assym.h: ${GENASSYM_CONF} ${GENASSYM_EXTRA}
|
|
${_MKTARGET_CREATE}
|
|
cat ${GENASSYM_CONF} ${GENASSYM_EXTRA} | \
|
|
${TOOL_GENASSYM} -- ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
|
|
> assym.h.tmp && \
|
|
mv -f assym.h.tmp assym.h
|
|
${SRCS:C/\.[Ss]/.o/} ${SRCS:C/\.[Ss]/.d/}: assym.h
|
|
.endif
|