head	1.11;
access;
symbols
	netbsd-11-0-RC4:1.11
	netbsd-11-0-RC3:1.11
	netbsd-11-0-RC2:1.11
	netbsd-11-0-RC1:1.11
	perseant-exfatfs-base-20250801:1.11
	netbsd-11:1.11.0.56
	netbsd-11-base:1.11
	netbsd-10-1-RELEASE:1.11
	perseant-exfatfs-base-20240630:1.11
	perseant-exfatfs:1.11.0.54
	perseant-exfatfs-base:1.11
	netbsd-8-3-RELEASE:1.11
	netbsd-9-4-RELEASE:1.11
	netbsd-10-0-RELEASE:1.11
	netbsd-10-0-RC6:1.11
	netbsd-10-0-RC5:1.11
	netbsd-10-0-RC4:1.11
	netbsd-10-0-RC3:1.11
	netbsd-10-0-RC2:1.11
	thorpej-ifq:1.11.0.52
	thorpej-ifq-base:1.11
	thorpej-altq-separation:1.11.0.50
	thorpej-altq-separation-base:1.11
	netbsd-10-0-RC1:1.11
	netbsd-10:1.11.0.48
	netbsd-10-base:1.11
	bouyer-sunxi-drm:1.11.0.46
	bouyer-sunxi-drm-base:1.11
	netbsd-9-3-RELEASE:1.11
	thorpej-i2c-spi-conf2:1.11.0.44
	thorpej-i2c-spi-conf2-base:1.11
	thorpej-futex2:1.11.0.42
	thorpej-futex2-base:1.11
	thorpej-cfargs2:1.11.0.40
	thorpej-cfargs2-base:1.11
	cjep_sun2x-base1:1.11
	cjep_sun2x:1.11.0.38
	cjep_sun2x-base:1.11
	cjep_staticlib_x-base1:1.11
	netbsd-9-2-RELEASE:1.11
	cjep_staticlib_x:1.11.0.36
	cjep_staticlib_x-base:1.11
	thorpej-i2c-spi-conf:1.11.0.34
	thorpej-i2c-spi-conf-base:1.11
	thorpej-cfargs:1.11.0.32
	thorpej-cfargs-base:1.11
	thorpej-futex:1.11.0.30
	thorpej-futex-base:1.11
	netbsd-9-1-RELEASE:1.11
	bouyer-xenpvh-base2:1.11
	phil-wifi-20200421:1.11
	bouyer-xenpvh-base1:1.11
	phil-wifi-20200411:1.11
	bouyer-xenpvh:1.11.0.28
	bouyer-xenpvh-base:1.11
	is-mlppp:1.11.0.26
	is-mlppp-base:1.11
	phil-wifi-20200406:1.11
	netbsd-8-2-RELEASE:1.11
	ad-namecache-base3:1.11
	netbsd-9-0-RELEASE:1.11
	netbsd-9-0-RC2:1.11
	ad-namecache-base2:1.11
	ad-namecache-base1:1.11
	ad-namecache:1.11.0.24
	ad-namecache-base:1.11
	netbsd-9-0-RC1:1.11
	phil-wifi-20191119:1.11
	netbsd-9:1.11.0.22
	netbsd-9-base:1.11
	phil-wifi-20190609:1.11
	netbsd-8-1-RELEASE:1.11
	netbsd-8-1-RC1:1.11
	isaki-audio2:1.11.0.20
	isaki-audio2-base:1.11
	pgoyette-compat-merge-20190127:1.11
	pgoyette-compat-20190127:1.11
	pgoyette-compat-20190118:1.11
	pgoyette-compat-1226:1.11
	pgoyette-compat-1126:1.11
	pgoyette-compat-1020:1.11
	pgoyette-compat-0930:1.11
	pgoyette-compat-0906:1.11
	netbsd-7-2-RELEASE:1.6
	pgoyette-compat-0728:1.11
	netbsd-8-0-RELEASE:1.11
	phil-wifi:1.11.0.18
	phil-wifi-base:1.11
	pgoyette-compat-0625:1.11
	netbsd-8-0-RC2:1.11
	pgoyette-compat-0521:1.11
	pgoyette-compat-0502:1.11
	pgoyette-compat-0422:1.11
	netbsd-8-0-RC1:1.11
	pgoyette-compat-0415:1.11
	pgoyette-compat-0407:1.11
	pgoyette-compat-0330:1.11
	pgoyette-compat-0322:1.11
	pgoyette-compat-0315:1.11
	netbsd-7-1-2-RELEASE:1.6
	pgoyette-compat:1.11.0.16
	pgoyette-compat-base:1.11
	netbsd-7-1-1-RELEASE:1.6
	tls-maxphys-base-20171202:1.11
	matt-nb8-mediatek:1.11.0.14
	matt-nb8-mediatek-base:1.11
	nick-nhusb-base-20170825:1.11
	perseant-stdc-iso10646:1.11.0.12
	perseant-stdc-iso10646-base:1.11
	netbsd-8:1.11.0.10
	netbsd-8-base:1.11
	prg-localcount2-base3:1.11
	prg-localcount2-base2:1.11
	prg-localcount2-base1:1.11
	prg-localcount2:1.11.0.8
	prg-localcount2-base:1.11
	pgoyette-localcount-20170426:1.11
	bouyer-socketcan-base1:1.11
	jdolecek-ncq:1.11.0.6
	jdolecek-ncq-base:1.11
	pgoyette-localcount-20170320:1.11
	netbsd-7-1:1.6.0.12
	netbsd-7-1-RELEASE:1.6
	netbsd-7-1-RC2:1.6
	nick-nhusb-base-20170204:1.11
	netbsd-7-nhusb-base-20170116:1.6
	bouyer-socketcan:1.11.0.4
	bouyer-socketcan-base:1.11
	pgoyette-localcount-20170107:1.11
	netbsd-7-1-RC1:1.6
	nick-nhusb-base-20161204:1.11
	pgoyette-localcount-20161104:1.11
	netbsd-7-0-2-RELEASE:1.6
	nick-nhusb-base-20161004:1.11
	localcount-20160914:1.11
	netbsd-7-nhusb:1.6.0.10
	netbsd-7-nhusb-base:1.6
	pgoyette-localcount-20160806:1.11
	pgoyette-localcount-20160726:1.11
	pgoyette-localcount:1.11.0.2
	pgoyette-localcount-base:1.11
	nick-nhusb-base-20160907:1.11
	nick-nhusb-base-20160529:1.11
	netbsd-7-0-1-RELEASE:1.6
	nick-nhusb-base-20160422:1.11
	nick-nhusb-base-20160319:1.11
	nick-nhusb-base-20151226:1.10
	netbsd-7-0:1.6.0.8
	netbsd-7-0-RELEASE:1.6
	nick-nhusb-base-20150921:1.9
	netbsd-7-0-RC3:1.6
	netbsd-7-0-RC2:1.6
	netbsd-7-0-RC1:1.6
	nick-nhusb-base-20150606:1.9
	nick-nhusb-base-20150406:1.8
	nick-nhusb:1.6.0.6
	nick-nhusb-base:1.6
	netbsd-7:1.6.0.4
	netbsd-7-base:1.6
	yamt-pagecache-base9:1.6
	yamt-pagecache-tag8:1.1.2.2
	tls-earlyentropy:1.6.0.2
	tls-earlyentropy-base:1.6
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.6
	riastradh-drm2-base3:1.6
	rmind-smpnet-nbase:1.6
	riastradh-drm2-base2:1.2
	riastradh-drm2-base1:1.2
	riastradh-drm2:1.2.0.10
	riastradh-drm2-base:1.2
	rmind-smpnet:1.2.0.8
	rmind-smpnet-base:1.6
	tls-maxphys:1.2.0.6
	khorben-n900:1.2.0.4
	agc-symver:1.2.0.2
	agc-symver-base:1.2
	yamt-pagecache-base8:1.1
	yamt-pagecache-base7:1.1
	tls-maxphys-base:1.6
	yamt-pagecache:1.1.0.2
	yamt-pagecache-base6:1.1;
locks; strict;
comment	@# @;


1.11
date	2016.01.26.23.12.17;	author pooka;	state Exp;
branches;
next	1.10;
commitid	kepLkd4K8DWcOuSy;

1.10
date	2015.10.19.16.16.37;	author pooka;	state Exp;
branches;
next	1.9;
commitid	tw5dhIUFxtTYIJFy;

1.9
date	2015.05.09.12.03.10;	author pooka;	state Exp;
branches;
next	1.8;
commitid	nZayvNqtYeEuzLky;

1.8
date	2015.03.08.15.20.07;	author christos;	state Exp;
branches;
next	1.7;
commitid	jSUKir4YVGuLEOcy;

1.7
date	2015.03.08.15.07.33;	author christos;	state Exp;
branches;
next	1.6;
commitid	HQIz5hKo20isAOcy;

1.6
date	2014.03.13.02.03.47;	author pooka;	state Exp;
branches
	1.6.6.1;
next	1.5;
commitid	XKhoqz1msPJ4Ptsx;

1.5
date	2014.01.28.10.54.45;	author njoly;	state Exp;
branches;
next	1.4;
commitid	bxuRI0IhvP8LaSmx;

1.4
date	2014.01.25.10.40.40;	author njoly;	state Exp;
branches;
next	1.3;
commitid	kU0alTYo5iJRbumx;

1.3
date	2013.12.14.10.29.45;	author njoly;	state Exp;
branches;
next	1.2;
commitid	embfv0g3O55Ct5hx;

1.2
date	2013.03.07.18.53.39;	author pooka;	state Exp;
branches
	1.2.6.1
	1.2.8.1;
next	1.1;

1.1
date	2012.09.19.21.45.40;	author pooka;	state Exp;
branches
	1.1.2.1;
next	;

1.6.6.1
date	2015.04.06.15.18.29;	author skrll;	state Exp;
branches;
next	1.6.6.2;
commitid	pz01Zhy7RP6iGxgy;

1.6.6.2
date	2015.06.06.14.40.28;	author skrll;	state Exp;
branches;
next	1.6.6.3;
commitid	O6LVO5i6UulOvnoy;

1.6.6.3
date	2015.12.27.12.10.16;	author skrll;	state Exp;
branches;
next	1.6.6.4;
commitid	BTSqUD4SdJ5k7AOy;

1.6.6.4
date	2016.03.19.11.30.36;	author skrll;	state Exp;
branches;
next	;
commitid	2PHKtPSg1vDV9fZy;

1.2.6.1
date	2013.03.07.18.53.39;	author pooka;	state dead;
branches;
next	1.2.6.2;

1.2.6.2
date	2013.03.07.18.53.40;	author pooka;	state Exp;
branches;
next	1.2.6.3;

1.2.6.3
date	2014.08.20.00.04.40;	author tls;	state Exp;
branches;
next	1.2.6.4;
commitid	jTnpym9Qu0o4R1Nx;

1.2.6.4
date	2017.12.03.11.39.15;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.2.8.1
date	2014.05.18.17.46.17;	author rmind;	state Exp;
branches;
next	;
commitid	mL5ZYSzpqK6QS2Bx;

1.1.2.1
date	2012.09.19.21.45.40;	author yamt;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2012.10.30.17.22.53;	author yamt;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2014.05.22.11.41.14;	author yamt;	state Exp;
branches;
next	;
commitid	VUUXuyNWnt3AKwBx;


desc
@@


1.11
log
@Put the kernelside rump kernel headers into <rump-sys> instead of
sprinkling them around the faction directories.  Avoids having
to add a CPPFLAGS (or several) to pretty much every component
Makefile.

Leave compat headers around in the old locations.

The commit changes some autogenerated files, but I'll fix the
generators shortly and regen.
@
text
@#	$NetBSD: Makefile,v 1.10 2015/10/19 16:16:37 pooka Exp $
#

.PATH:	${.CURDIR}/../../../../compat/linux/common

LIB=	rumpkern_sys_linux
COMMENT=Linux system call translation

SRCS=	linux_blkio.c linux_cdrom.c linux_errno.c linux_fdio.c		\
	linux_file.c linux_hdio.c linux_ioctl.c linux_ipc.c linux_misc.c\
	linux_mtio.c linux_signal.c linux_signo.c linux_socket.c	\
	linux_sysctl.c linux_termios.c linux_time.c linux_file64.c      \
	linux_pipe.c

SRCS+=	linux_rump.c
SRCS+=	sys_linux_component.c

# XXX
CPPFLAGS+= -DINET6

SYS_P=rump_linux_sys
.include "../Makefile.sys"

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.10
log
@Add a COMMENT describing what each component roughly does.

"make describe" prints the comment.

Requested/inspired by Vincent Schwarzer on rumpkernel-users
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2015/05/09 12:03:10 pooka Exp $
a18 1
CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern
@


1.9
log
@Make the cool syscall autogeneration feature work with the
newfangled r/o src feature.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2015/03/08 15:20:07 christos Exp $
d7 1
@


1.8
log
@factor out the syscall building code
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2015/03/08 15:07:33 christos Exp $
d14 1
a14 1
SRCS+=	rump_linux_sysent.c linux_rump.c
d18 1
a18 1
CPPFLAGS+= -I${.CURDIR} -I${RUMPTOP}/librump/rumpkern
d21 3
a25 3

SYS_P=rump_linux_sys
.include "../Makefile.sys"
@


1.7
log
@regen and add a build target.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2014/03/13 02:03:47 pooka Exp $
d25 1
a25 6
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}
@


1.6
log
@rename component.c -> sys_linux_component.c
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2014/01/28 10:54:45 njoly Exp $
d23 8
@


1.6.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2015/03/08 15:20:07 christos Exp $
a22 3

SYS_P=rump_linux_sys
.include "../Makefile.sys"
@


1.6.6.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6.6.1 2015/04/06 15:18:29 skrll Exp $
d14 1
a14 1
SRCS+=	linux_rump.c
d18 1
a18 1
CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern
d21 3
a25 3

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.6.6.3
log
@Sync with HEAD (as of 26th Dec)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6.6.2 2015/06/06 14:40:28 skrll Exp $
a6 1
COMMENT=Linux system call translation
@


1.6.6.4
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6.6.3 2015/12/27 12:10:16 skrll Exp $
d19 1
@


1.5
log
@Build with IPv6 support.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2014/01/25 10:40:40 njoly Exp $
d14 2
a15 1
SRCS+=	rump_linux_sysent.c component.c linux_rump.c
@


1.4
log
@Add now needed linux_pipe.c sources.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2013/12/14 10:29:45 njoly Exp $
d18 1
@


1.3
log
@Add syscall wrapper for mknodat(2) to deal with PAD argument difference
between rump and linux versions.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2013/03/07 18:53:39 pooka Exp $
d11 2
a12 1
	linux_sysctl.c linux_termios.c linux_time.c linux_file64.c
@


1.2
log
@If linux syscall emulation is linked in to a rump kernel, use it as the
default emulation.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2012/09/19 21:45:40 pooka Exp $
d13 1
a13 1
SRCS+=	rump_linux_sysent.c component.c
@


1.2.8.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2013/03/07 18:53:39 pooka Exp $
d11 1
a11 2
	linux_sysctl.c linux_termios.c linux_time.c linux_file64.c      \
	linux_pipe.c
d13 1
a13 2
SRCS+=	rump_linux_sysent.c linux_rump.c
SRCS+=	sys_linux_component.c
a16 1
CPPFLAGS+= -DINET6
@


1.2.6.1
log
@file Makefile was added on branch tls-maxphys on 2013-03-07 18:53:40 +0000
@
text
@d1 19
@


1.2.6.2
log
@If linux syscall emulation is linked in to a rump kernel, use it as the
default emulation.
@
text
@a0 19
#	$NetBSD: Makefile,v 1.2 2013/03/07 18:53:39 pooka Exp $
#

.PATH:	${.CURDIR}/../../../../compat/linux/common

LIB=	rumpkern_sys_linux

SRCS=	linux_blkio.c linux_cdrom.c linux_errno.c linux_fdio.c		\
	linux_file.c linux_hdio.c linux_ioctl.c linux_ipc.c linux_misc.c\
	linux_mtio.c linux_signal.c linux_signo.c linux_socket.c	\
	linux_sysctl.c linux_termios.c linux_time.c linux_file64.c

SRCS+=	rump_linux_sysent.c component.c

# XXX
CPPFLAGS+= -I${.CURDIR} -I${RUMPTOP}/librump/rumpkern

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.2.6.3
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d11 1
a11 2
	linux_sysctl.c linux_termios.c linux_time.c linux_file64.c      \
	linux_pipe.c
d13 1
a13 2
SRCS+=	rump_linux_sysent.c linux_rump.c
SRCS+=	sys_linux_component.c
a16 1
CPPFLAGS+= -DINET6
@


1.2.6.4
log
@update from HEAD
@
text
@a6 1
COMMENT=Linux system call translation
d14 1
a14 1
SRCS+=	linux_rump.c
d18 1
a20 3
SYS_P=rump_linux_sys
.include "../Makefile.sys"

@


1.1
log
@Add the first attempt at rump kernel support for Linux clients.  This has
been lightly tested with unmodified networking applications with both
the client and server on a 64bit le host.  Unlike the standard Linux
compat libs where args and syscalls are swizzled around, this compat
lib only massages the arg data types due to the assumption that syscall
numbers come from librumpclient (via librumphijack) and therefore match
the native NetBSD numbers.
@
text
@d1 1
a1 1
#	$NetBSD$
d16 1
a16 1
CPPFLAGS+= -I${.CURDIR}
@


1.1.2.1
log
@file Makefile was added on branch yamt-pagecache on 2012-10-30 17:22:53 +0000
@
text
@d1 19
@


1.1.2.2
log
@sync with head
@
text
@a0 19
#	$NetBSD$
#

.PATH:	${.CURDIR}/../../../../compat/linux/common

LIB=	rumpkern_sys_linux

SRCS=	linux_blkio.c linux_cdrom.c linux_errno.c linux_fdio.c		\
	linux_file.c linux_hdio.c linux_ioctl.c linux_ipc.c linux_misc.c\
	linux_mtio.c linux_signal.c linux_signo.c linux_socket.c	\
	linux_sysctl.c linux_termios.c linux_time.c linux_file64.c

SRCS+=	rump_linux_sysent.c component.c

# XXX
CPPFLAGS+= -I${.CURDIR}

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.1.2.3
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.2 2012/10/30 17:22:53 yamt Exp $
d11 1
a11 2
	linux_sysctl.c linux_termios.c linux_time.c linux_file64.c      \
	linux_pipe.c
d13 1
a13 2
SRCS+=	rump_linux_sysent.c linux_rump.c
SRCS+=	sys_linux_component.c
d16 1
a16 2
CPPFLAGS+= -I${.CURDIR} -I${RUMPTOP}/librump/rumpkern
CPPFLAGS+= -DINET6
@


