[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.7, Mon Aug 12 10:25:05 2013 UTC (12 months, 1 week ago) by pooka
Branch: MAIN
Changes since 1.6: +2 -1 lines

building ARM rump kernels now requires sys/arch/arm/arm32

#!/bin/sh
#
#	$NetBSD: listsrcdirs,v 1.7 2013/08/12 10:25:05 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 powerpc evbppc; do
		precho src/sys/arch/${x}/ include ${x} Makefile
	done
	echo src/sys/arch/arm/arm32
	echo src/sys/arch/Makefile
else
	echo src/sys
fi