factor out the syscall building code

This commit is contained in:
christos 2015-03-08 15:20:07 +00:00
parent bb3f5d4d7f
commit 702f49ac99

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2015/03/08 15:07:33 christos Exp $
# $NetBSD: Makefile,v 1.8 2015/03/08 15:20:07 christos Exp $
#
.PATH: ${.CURDIR}/../../../../compat/linux/common
@ -22,9 +22,4 @@ CPPFLAGS+= -DINET6
.include <bsd.klinks.mk>
SYS_P=rump_linux_sys
SYS_MKSYSCALLS=${.CURDIR}/../../../../kern/makesyscalls.sh
SYS_DST=${SYS_P}calls.c ${SYS_P}ent.c ${SYS_P}callargs.h ${SYS_P}call.h:
SYS_SRC=${SYS_MKSYSCALLS} syscalls.conf syscalls.master
${SYS_DST}: ${SYS_SRC}
${HOST_SH} ${.ALLSRC}
.include "../Makefile.sys"