Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump Maintain arch list in a separate variable.



details:   https://anonhg.NetBSD.org/src/rev/e385b81cb9d6
branches:  trunk
changeset: 790986:e385b81cb9d6
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Oct 29 16:18:42 2013 +0000

description:
Maintain arch list in a separate variable.
no functional change

diffstat:

 sys/rump/listsrcdirs |  14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r b45a9542b024 -r e385b81cb9d6 sys/rump/listsrcdirs
--- a/sys/rump/listsrcdirs      Tue Oct 29 16:11:46 2013 +0000
+++ b/sys/rump/listsrcdirs      Tue Oct 29 16:18:42 2013 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#      $NetBSD: listsrcdirs,v 1.9 2013/09/19 16:16:03 pooka Exp $
+#      $NetBSD: listsrcdirs,v 1.10 2013/10/29 16:18:42 pooka Exp $
 #
 
 #
@@ -19,6 +19,9 @@
        for arg in $* ; do echo ${pfx}${arg} ; done
 }
 
+ARCHS="amd64 i386 x86 arm evbarm sparc sparc64 powerpc evbppc"
+ARCHS_EXTRA="arm/arm32 Makefile"
+
 precho src/                    build.sh Makefile Makefile.inc
 precho src/                    tools common include share/mk
 precho src/etc/                        Makefile.params master.passwd group
@@ -38,11 +41,12 @@
        echo \!src/sys/arch 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
+       for arch in ${ARCHS}; do
+               precho src/sys/arch/${arch}/ include ${arch} Makefile
        done
-       echo src/sys/arch/arm/arm32
-       echo src/sys/arch/Makefile
+       for extra in ${ARCHS_EXTRA}; do
+               echo src/sys/arch/${extra}
+       done
 else
        echo src/sys
 fi



Home | Main Index | Thread Index | Old Index