From f04b573a14fc884bdfc4c58212995a699354ada0 Mon Sep 17 00:00:00 2001 From: pooka Date: Tue, 29 Oct 2013 16:18:42 +0000 Subject: [PATCH] Maintain arch list in a separate variable. no functional change --- sys/rump/listsrcdirs | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/sys/rump/listsrcdirs b/sys/rump/listsrcdirs index 487788fd7493..4dbbf47b8aaa 100644 --- a/sys/rump/listsrcdirs +++ b/sys/rump/listsrcdirs @@ -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 @@ precho () 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 @@ if [ "${1}" = '-c' ]; then 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 + for extra in ${ARCHS_EXTRA}; do + echo src/sys/arch/${extra} done - echo src/sys/arch/arm/arm32 - echo src/sys/arch/Makefile else echo src/sys fi