Fri Apr 26 17:38:44 2024 UTC (13d)
BUILDING: fix typo


(rillig)
diff -r1.160 -r1.161 src/BUILDING
diff -r1.149 -r1.150 src/doc/BUILDING.mdoc

cvs diff -r1.160 -r1.161 src/BUILDING (expand / switch to unified diff)

--- src/BUILDING 2023/07/22 18:50:04 1.160
+++ src/BUILDING 2024/04/26 17:38:44 1.161
@@ -719,27 +719,27 @@ BUILDING @@ -719,27 +719,27 @@ BUILDING
719 case both MACHINE and MACHINE_ARCH are set from the alias. 719 case both MACHINE and MACHINE_ARCH are set from the alias.
720 Such aliases are interpreted entirely by build.sh; they are not 720 Such aliases are interpreted entirely by build.sh; they are not
721 used by any other part of the build system. The MACHINE_ARCH 721 used by any other part of the build system. The MACHINE_ARCH
722 setting implied by mach will override any value of MACHINE_ARCH 722 setting implied by mach will override any value of MACHINE_ARCH
723 in the process environment, but will not override a value set 723 in the process environment, but will not override a value set
724 by the -a option. All cross builds require -m, but if unset on 724 by the -a option. All cross builds require -m, but if unset on
725 a NetBSD host, the host's value of MACHINE will be detected and 725 a NetBSD host, the host's value of MACHINE will be detected and
726 used automatically. 726 used automatically.
727 727
728 See the list-arch operation for a way to get a list of valid 728 See the list-arch operation for a way to get a list of valid
729 MACHINE and MACHINE_ARCH settings. 729 MACHINE and MACHINE_ARCH settings.
730 730
731 -N noiselevel 731 -N noiselevel
732 Set the "noisyness" level of the build, by setting MAKEVERBOSE 732 Set the "noisiness" level of the build, by setting MAKEVERBOSE
733 to noiselevel. 733 to noiselevel.
734 734
735 -n Show the commands that would be executed by build.sh, but do 735 -n Show the commands that would be executed by build.sh, but do
736 not make any changes. This is similar in concept to "make -n". 736 not make any changes. This is similar in concept to "make -n".
737 737
738 -O obj Create an appropriate transform macro for MAKEOBJDIR that will 738 -O obj Create an appropriate transform macro for MAKEOBJDIR that will
739 place the built object files under obj. Unsets 739 place the built object files under obj. Unsets
740 MAKEOBJDIRPREFIX. 740 MAKEOBJDIRPREFIX.
741 741
742 For instance, a setting of "-O /usr/obj" will place build-time 742 For instance, a setting of "-O /usr/obj" will place build-time
743 files under /usr/obj/bin, /usr/obj/lib, /usr/obj/usr.bin, and 743 files under /usr/obj/bin, /usr/obj/lib, /usr/obj/usr.bin, and
744 so forth. 744 so forth.
745 745

cvs diff -r1.149 -r1.150 src/doc/BUILDING.mdoc (expand / switch to unified diff)

--- src/doc/BUILDING.mdoc 2023/07/22 18:50:04 1.149
+++ src/doc/BUILDING.mdoc 2024/04/26 17:38:44 1.150
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: BUILDING.mdoc,v 1.149 2023/07/22 18:50:04 lukem Exp $ 1.\" $NetBSD: BUILDING.mdoc,v 1.150 2024/04/26 17:38:44 rillig Exp $
2.\" 2.\"
3.\" Copyright (c) 2001-2023 The NetBSD Foundation, Inc. 3.\" Copyright (c) 2001-2023 The NetBSD Foundation, Inc.
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" This code is derived from software contributed to The NetBSD Foundation 6.\" This code is derived from software contributed to The NetBSD Foundation
7.\" by Todd Vierling and Luke Mewburn. 7.\" by Todd Vierling and Luke Mewburn.
8.\" 8.\"
9.\" Redistribution and use in source and binary forms, with or without 9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions 10.\" modification, are permitted provided that the following conditions
11.\" are met: 11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright 12.\" 1. Redistributions of source code must retain the above copyright
13.\" notice, this list of conditions and the following disclaimer. 13.\" notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright 14.\" 2. Redistributions in binary form must reproduce the above copyright
@@ -1635,27 +1635,27 @@ All cross builds require @@ -1635,27 +1635,27 @@ All cross builds require
1635but if unset on a NetBSD host, the host's value of MACHINE will be 1635but if unset on a NetBSD host, the host's value of MACHINE will be
1636detected and used automatically. 1636detected and used automatically.
1637.Pp 1637.Pp
1638See the 1638See the
1639.Cm list-arch 1639.Cm list-arch
1640operation for a way to get a list of valid 1640operation for a way to get a list of valid
1641.Sy MACHINE 1641.Sy MACHINE
1642and 1642and
1643.Sy MACHINE_ARCH 1643.Sy MACHINE_ARCH
1644settings. 1644settings.
1645. 1645.
1646.It Fl N Ar noiselevel 1646.It Fl N Ar noiselevel
1647Set the 1647Set the
1648.Dq noisyness 1648.Dq noisiness
1649level of the build, by setting 1649level of the build, by setting
1650.Sy MAKEVERBOSE 1650.Sy MAKEVERBOSE
1651to 1651to
1652.Ar noiselevel . 1652.Ar noiselevel .
1653. 1653.
1654.It Fl n 1654.It Fl n
1655Show the commands that would be executed by 1655Show the commands that would be executed by
1656.Sy build.sh , 1656.Sy build.sh ,
1657but do not make any changes. 1657but do not make any changes.
1658This is similar in concept to 1658This is similar in concept to
1659.Dq make -n . 1659.Dq make -n .
1660. 1660.
1661.It Fl O Ar obj 1661.It Fl O Ar obj