Module Name: src Committed By: martin Date: Thu Jan 28 10:36:27 UTC 2021
Modified Files: src: build.sh Log Message: 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). To generate a diff of this commit: cvs rdiff -u -r1.345 -r1.346 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.345 src/build.sh:1.346 --- src/build.sh:1.345 Sun Sep 20 10:29:05 2020 +++ src/build.sh Thu Jan 28 10:36:27 2021 @@ -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 @@ parseoptions() export MAKEFLAGS MACHINE MACHINE_ARCH setmakeenv USETOOLS "yes" setmakeenv MAKEWRAPPERMACHINE "${makewrappermachine:-${MACHINE}}" + setmakeenv MAKE_OBJDIR_CHECK_WRITABLE no } # sanitycheck -- @@ -1970,7 +1971,7 @@ createmakewrapper() 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} #