Source-Changes-HG archive

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

[src/trunk]: src in getkernelconf(), remove check for non-empty $makeobjdir, ...



details:   https://anonhg.NetBSD.org/src/rev/7976fa2a5dbd
branches:  trunk
changeset: 550657:7976fa2a5dbd
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Aug 16 11:46:44 2003 +0000

description:
in getkernelconf(), remove check for non-empty $makeobjdir, as it's not
performed elsewhere in similar code, and causes problems if you run "kernel="
without an operation that performs "make obj" in sys/ beforehand.

diffstat:

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

diffs (28 lines):

diff -r 107d4bc20072 -r 7976fa2a5dbd build.sh
--- a/build.sh  Sat Aug 16 11:30:35 2003 +0000
+++ b/build.sh  Sat Aug 16 11:46:44 2003 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/env sh
-#      $NetBSD: build.sh,v 1.113 2003/08/11 19:26:04 jmc Exp $
+#      $NetBSD: build.sh,v 1.114 2003/08/16 11:46:44 lukem Exp $
 #
 # Copyright (c) 2001-2003 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -802,7 +802,7 @@
        eval cat <<EOF ${makewrapout}
 #! /bin/sh
 # Set proper variables to allow easy "make" building of a NetBSD subtree.
-# Generated from:  \$NetBSD: build.sh,v 1.113 2003/08/11 19:26:04 jmc Exp $
+# Generated from:  \$NetBSD: build.sh,v 1.114 2003/08/16 11:46:44 lukem Exp $
 #
 
 EOF
@@ -846,7 +846,7 @@
 getkernelconf()
 {
        kernelconf="$1"
-       if [ "${MKOBJDIRS}" != "no" ] && [ ! -z "${makeobjdir}" ]; then
+       if [ "${MKOBJDIRS}" != "no" ]; then
                # The correct value of KERNOBJDIR might
                # depend on a prior "make obj" in
                # ${KERNSRCDIR}/${KERNARCHDIR}/compile.



Home | Main Index | Thread Index | Old Index