Module Name:    src
Committed By:   bad
Date:           Thu Sep 12 18:28:05 UTC 2019

Modified Files:
        src/sys/rump: listsrcdirs

Log Message:
Summary: export the files from headerlist before the ARCHS's includes.
Or else cvs export will complain about them being in the way.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/rump/listsrcdirs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/listsrcdirs
diff -u src/sys/rump/listsrcdirs:1.41 src/sys/rump/listsrcdirs:1.42
--- src/sys/rump/listsrcdirs:1.41	Thu Sep 12 17:35:58 2019
+++ src/sys/rump/listsrcdirs	Thu Sep 12 18:28:05 2019
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#	$NetBSD: listsrcdirs,v 1.41 2019/09/12 17:35:58 bad Exp $
+#	$NetBSD: listsrcdirs,v 1.42 2019/09/12 18:28:05 bad Exp $
 #
 
 #
@@ -140,6 +140,11 @@ if ${cvsmode}; then
 	    echo \!src/external/bsd/libc++/dist/libcxx/test \
 	           src/external/bsd/libc++
 
+	# the includes mentioned in src/tools/headerlist are required.
+	# pull them in first or else CVS export will complain if they
+	# have been checked out as one of the usefule archs.
+	include_headerlist sys /sys/arch/
+
 	# pick a few useful archs, namely those mentioned in buildrump.sh
 	for arch in ${ARCHS}; do
 		lsrc sys /sys/arch/${arch}/ include ${arch} Makefile
@@ -147,8 +152,6 @@ if ${cvsmode}; then
 	for extra in ${ARCHS_EXTRA}; do
 		lsrc sys /sys/arch/ ${extra}
 	done
-	# the includes mentioned in src/tools/headerlist are required
-	include_headerlist sys /sys/arch/
 else
 	lsrc sys / sys
 

Reply via email to