Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src make kernobjdir absolute.
details: https://anonhg.NetBSD.org/src/rev/72c50899df6e
branches: trunk
changeset: 753402:72c50899df6e
user: christos <christos%NetBSD.org@localhost>
date: Fri Mar 26 18:02:14 2010 +0000
description:
make kernobjdir absolute.
diffstat:
build.sh | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r 24b7765257c3 -r 72c50899df6e build.sh
--- a/build.sh Fri Mar 26 17:18:05 2010 +0000
+++ b/build.sh Fri Mar 26 18:02:14 2010 +0000
@@ -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}"
Home |
Main Index |
Thread Index |
Old Index