Source-Changes-HG archive

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

[src/trunk]: src Modify the generated make wrapper to avoid complaints about



details:   https://anonhg.NetBSD.org/src/rev/e9cf32626f99
branches:  trunk
changeset: 950406:e9cf32626f99
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Jan 28 10:36:27 2021 +0000

description:
Modify the generated make wrapper to avoid complaints about
non-writable OBJDIR from make (which happen a lot when cross-building
kernels re-using a makewrapper build for some other user).

diffstat:

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

diffs (27 lines):

diff -r 3f747c4cf265 -r e9cf32626f99 build.sh
--- a/build.sh  Thu Jan 28 01:57:31 2021 +0000
+++ b/build.sh  Thu Jan 28 10:36:27 2021 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/env sh
-#      $NetBSD: build.sh,v 1.345 2020/09/20 10:29:05 mrg Exp $
+#      $NetBSD: build.sh,v 1.346 2021/01/28 10:36:27 martin Exp $
 #
 # Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1464,6 +1464,7 @@
        export MAKEFLAGS MACHINE MACHINE_ARCH
        setmakeenv USETOOLS "yes"
        setmakeenv MAKEWRAPPERMACHINE "${makewrappermachine:-${MACHINE}}"
+       setmakeenv MAKE_OBJDIR_CHECK_WRITABLE no
 }
 
 # sanitycheck --
@@ -1970,7 +1971,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.345 2020/09/20 10:29:05 mrg Exp $
+# Generated from:  \$NetBSD: build.sh,v 1.346 2021/01/28 10:36:27 martin Exp $
 # with these arguments: ${_args}
 #
 



Home | Main Index | Thread Index | Old Index