Source-Changes-HG archive

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

[src/trunk]: src need object directory for etc/mtree to run distrib-dirs



details:   https://anonhg.NetBSD.org/src/rev/f9e764eb2e35
branches:  trunk
changeset: 750758:f9e764eb2e35
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Jan 13 02:24:06 2010 +0000

description:
need object directory for etc/mtree to run distrib-dirs

diffstat:

 build.sh |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 0e5295557c46 -r f9e764eb2e35 build.sh
--- a/build.sh  Wed Jan 13 02:18:25 2010 +0000
+++ b/build.sh  Wed Jan 13 02:24:06 2010 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/env sh
-#      $NetBSD: build.sh,v 1.227 2010/01/13 02:18:25 pooka Exp $
+#      $NetBSD: build.sh,v 1.228 2010/01/13 02:24:06 pooka Exp $
 #
 # Copyright (c) 2001-2009 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1352,7 +1352,7 @@
        eval cat <<EOF ${makewrapout}
 #! ${HOST_SH}
 # Set proper variables to allow easy "make" building of a NetBSD subtree.
-# Generated from:  \$NetBSD: build.sh,v 1.227 2010/01/13 02:18:25 pooka Exp $
+# Generated from:  \$NetBSD: build.sh,v 1.228 2010/01/13 02:24:06 pooka Exp $
 # with these arguments: ${_args}
 #
 
@@ -1560,7 +1560,10 @@
            'did you mean "rumptest"?'
 
        # create obj and distrib dirs
-       [ "${MKOBJDIRS}" = "no" ] || make_in_dir "${NETBSDSRCDIR}/sys/rump" obj
+       if [ "${MKOBJDIRS}" != "no" ]; then
+               make_in_dir "${NETBSDSRCDIR}/etc/mtree" obj
+               make_in_dir "${NETBSDSRCDIR}/sys/rump" obj
+       fi
        ${runcmd} "${makewrapper}" ${parallel} do-distrib-dirs \
            || bomb 'could not create distrib-dirs'
 



Home | Main Index | Thread Index | Old Index