Module Name: src Committed By: christos Date: Fri Mar 26 18:02:14 UTC 2010
Modified Files: src: build.sh Log Message: make kernobjdir absolute. To generate a diff of this commit: cvs rdiff -u -r1.231 -r1.232 src/build.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/build.sh diff -u src/build.sh:1.231 src/build.sh:1.232 --- src/build.sh:1.231 Sun Mar 7 12:34:25 2010 +++ src/build.sh Fri Mar 26 14:02:14 2010 @@ -1,5 +1,5 @@ #! /usr/bin/env sh -# $NetBSD: build.sh,v 1.231 2010/03/07 17:34:25 hans Exp $ +# $NetBSD: build.sh,v 1.232 2010/03/26 18:02:14 christos 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.231 2010/03/07 17:34:25 hans Exp $ +# Generated from: \$NetBSD: build.sh,v 1.232 2010/03/26 18:02:14 christos Exp $ # with these arguments: ${_args} # @@ -1421,6 +1421,13 @@ fi KERNCONFDIR="$(getmakevar KERNCONFDIR)" KERNOBJDIR="$(getmakevar KERNOBJDIR)" + case "${KERNOBJDIR}" in + ''|/*) ;; + *) KERNOBJDIR="${TOP}/${KERNOBJDIR}" + setmakeenv KERNOBJDIR "${KERNOBJDIR}" + ;; + esac + case "${kernelconf}" in */*) kernelconfpath="${kernelconf}"