[BACK]Return to listsrcdirs CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / rump

File: [cvs.NetBSD.org] / src / sys / rump / listsrcdirs (download)

Revision 1.4, Mon Mar 18 15:55:43 2013 UTC (18 months ago) by pooka
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.3: +2 -2 lines

add librumphijack to the list

#!/bin/sh
#
#	$NetBSD: listsrcdirs,v 1.4 2013/03/18 15:55:43 pooka Exp $
#

#
# This script echoes the NetBSD source directories required to build rump
# kernels with TOOLS_BUILDRUMP=yes (used for example by buildrump.sh).
# Feed the output to whichever method you use to obtain NetBSD sources, e.g.
#
# ./listsrcdirs | xargs cvs -d anoncvs@anoncvs.netbsd.org:/cvsroot -z3 co -P
#

precho ()
{

	pfx=$1
	shift
	for arg in $* ; do echo ${pfx}${arg} ; done
}

precho src/			build.sh Makefile Makefile.inc
precho src/			tools common include share/mk
precho src/etc/			Makefile.params master.passwd group
precho src/lib/lib		c util rump
precho src/lib/librump		user client hijack dev net vfs
precho src/external/bsd/	flex mdocml byacc
precho src/external/cddl/	osnet
precho src/external/historical/	nawk
precho src/usr.bin/		make xinstall config mktemp sed tsort
precho src/usr.bin/		lorder join cksum m4 mkdep
precho src/usr.sbin/		mtree

# If -c is given, use CVS syntax to exclude large subdirectories
# of sys.  Otherwise just do it wholesale.
if [ "${1}" = '-c' ]; then
	echo \!src/sys/arch \!src/sys/dev/microcode	\
	    \!src/sys/dev/pci src/sys

	# pick a few useful archs, namely those mentioned in buildrump.sh
	for x in amd64 i386 x86 arm evbarm sparc sparc64 ; do
		precho src/sys/arch/${x}/ include ${x}
	done
else
	echo src/sys
fi