#
13890d5a |
| 26-Apr-2024 |
rillig <rillig@NetBSD.org> |
BUILDING: fix typo
|
#
a9756fb6 |
| 22-Jul-2023 |
lukem <lukem@NetBSD.org> |
BUILDING: list known mk.conf vars. tweak section headers
List known supported and obsolete mk.conf(5) variables, so that searches in this document at least find them. This partially reverts my revis
BUILDING: list known mk.conf vars. tweak section headers
List known supported and obsolete mk.conf(5) variables, so that searches in this document at least find them. This partially reverts my revision 1.144 on 2023-06-12 which completely removed the duplication with mk.conf(5).
Remove quote characters from some section headings; it makes it harder to search for a section by known name when rendering in markup variations that use smart quotes.
show more ...
|
#
cc95aaef |
| 21-Jul-2023 |
lukem <lukem@NetBSD.org> |
BUILDING: clarify environ vs mk.conf behaviour
Document that variables set in the environment or the nbmake-MACHINE wrapper script don't override variable assignments in mk.conf(5), and that using ?
BUILDING: clarify environ vs mk.conf behaviour
Document that variables set in the environment or the nbmake-MACHINE wrapper script don't override variable assignments in mk.conf(5), and that using ?= in mk.conf allows environment / nbmake-MACHINE variables to override mk.conf.
Consistently refer to "nbmake-MACHINE wrapper script".
show more ...
|
#
747c3dee |
| 19-Jul-2023 |
lukem <lukem@NetBSD.org> |
BUILDING: consistency fix
|
#
3cb563b3 |
| 18-Jul-2023 |
lukem <lukem@NetBSD.org> |
build.sh: use mk.conf (if present) as MAKECONF
Set MAKECONF to mk.conf in the same directory as build.sh (i.e., the top of the source tree) if mk.conf is present. This means unprivileged users can b
build.sh: use mk.conf (if present) as MAKECONF
Set MAKECONF to mk.conf in the same directory as build.sh (i.e., the top of the source tree) if mk.conf is present. This means unprivileged users can benefit from mk.conf(5) semantics without write privileges to /etc/mk.conf, and also simplifies per-source-directory configuration.
Fail early if $MAKECONF is empty, since build.sh will fail anyway after rebuilding nbmake.
Ensure that the computed MAKECONF isn't empty, and then always set MAKECONF in the makewrapper (nbmake-$MACHINE).
Improve some formatting consistency in BUILDING.mdoc, (even if BUILDING is generated without markup).
show more ...
|
#
2b1fd041 |
| 05-Jul-2023 |
lukem <lukem@NetBSD.org> |
BUILDING: wording tweaks
|
#
6aba6b16 |
| 11-Jun-2023 |
lukem <lukem@NetBSD.org> |
BUILDING: remove duplication from mk.conf(5)
Remove all "make" variables / mk.conf(5) variables already documented in mk.conf(5). The duplication was a maintenance headache, as I've experienced ove
BUILDING: remove duplication from mk.conf(5)
Remove all "make" variables / mk.conf(5) variables already documented in mk.conf(5). The duplication was a maintenance headache, as I've experienced over recent weeks getting the build documentation up to date.
Add notes clarifying that manual page references are to the NetBSD manual pages, not to the host manual pages, and how to format from source, or find online at https://man.netbsd.org.
Add explicit links to the mdoc(7) in-tree source for mk.conf(5), hier(7), and release(7) because those are directly relevant to the host build information in BUILDING.
Note: We don't normally need these notes for native documentation, but BUILDING is intended for users on host systems which might not be NetBSD(-current).
Add missing defaults.
show more ...
|
#
3dd6409c |
| 11-Jun-2023 |
lukem <lukem@NetBSD.org> |
BUILDING: update from mk.conf(5). reorder
Sync variable entries from mk.conf(5).
Merge the "make variables for full builds" section into the previous. Having two separate sections and some entries
BUILDING: update from mk.conf(5). reorder
Sync variable entries from mk.conf(5).
Merge the "make variables for full builds" section into the previous. Having two separate sections and some entries duplicated was confusing when searching for variables.
show more ...
|
#
922f5e25 |
| 11-Jun-2023 |
lukem <lukem@NetBSD.org> |
more NBUILDJOBS deprecation
The NBUILDJOBS option was deprecated in 2002; there's no need to keep warning about it, remove from params / show-params, and only document as obsolete.
|
#
5166ed0b |
| 05-Jun-2023 |
lukem <lukem@NetBSD.org> |
BUILDING: editorial
MKX11=yes wants MKINET6=yes
Change the width of the variable lists to 14n (from 15n) so that when the lists are rendered and then left aligned, the column is 16 characters (aka
BUILDING: editorial
MKX11=yes wants MKINET6=yes
Change the width of the variable lists to 14n (from 15n) so that when the lists are rendered and then left aligned, the column is 16 characters (aka 2 tabs) which makes copypasta to bsd.README easier.
show more ...
|
#
f26a4cc9 |
| 04-Jun-2023 |
lukem <lukem@NetBSD.org> |
BUILDING: update from canonical mk.conf(5)
Incorporate content and styles updates for mk.conf entries from share/man/man5/mk.conf.5, which is the canonical reference for mk.conf.
Add: BSDOBJDIR, BS
BUILDING: update from canonical mk.conf(5)
Incorporate content and styles updates for mk.conf entries from share/man/man5/mk.conf.5, which is the canonical reference for mk.conf.
Add: BSDOBJDIR, BSDSRCDIR, EXTERNAL_TOOLCHAIN, MKDEBUGKERNEL, MKDEBUGTOOLS, MKHTML, MKLINKLIB, MKOBJDIRS, TOOLCHAIN_MISSING, NETBSDSRCDIR
It's for further study as to whether we just replace the most of subsection "make" variables with a link to mk.conf(5).
Style: - Add more .de macros per mk.conf.5. - Order list items alphabetically. When multiple items are present in a list item, sort within the item first. - More cross-references.
show more ...
|
#
105457a1 |
| 02-Jun-2023 |
lukem <lukem@NetBSD.org> |
build.sh: MAKECONF and mk.conf(5) improvements
Move MAKECONF to the Environment variables section. Add mk.conf(5) cross-references. Make Notes more obvious. Fix mandoc lint.
|
#
23c02a69 |
| 18-May-2023 |
lukem <lukem@NetBSD.org> |
BUILDING: TMPDIR must not be noexec
Describe $TMPDIR as used by build.sh, and add a note that it can't be mounted noexec.
PR toolchain/44459
|
#
9d6c4a26 |
| 16-May-2023 |
lukem <lukem@NetBSD.org> |
build.sh, BUILDING: consistency improvements
Consistently use "show", instead of sometimes using "display" or "print". Fix mdoc markup (even though BUILDING is raw text). Document help, -P, -?
|
#
b9abc1c5 |
| 16-May-2023 |
lukem <lukem@NetBSD.org> |
BUILDING: update upstream, regen
doc/BUILDING.mdoc is the upstream for BUILDING, so add recent changes in the latter to the former, formatting correctly.
Move INSTALLBOOT_UBOOT_PATHS to Environment
BUILDING: update upstream, regen
doc/BUILDING.mdoc is the upstream for BUILDING, so add recent changes in the latter to the former, formatting correctly.
Move INSTALLBOOT_UBOOT_PATHS to Environment variables. Move INSTALLBOOT_BOARDS to "make" variables for full builds. Add installboot(8) cross-reference.
show more ...
|
#
899c3c9b |
| 01-Oct-2022 |
rillig <rillig@NetBSD.org> |
fix documentation for MKLINT
Since share/mk/bsd.own.mk 1.749 from 2013-08-26, MKLINT defaults to no.
|
#
c5a23dac |
| 22-Aug-2022 |
brook <brook@NetBSD.org> |
By default, do not install any bootable images.
The previous commit introduced the ability to install a set of bootable images as a normal part of a release build. While this made it easy to instal
By default, do not install any bootable images.
The previous commit introduced the ability to install a set of bootable images as a normal part of a release build. While this made it easy to install bootable images, the contents of a release build depend on whether or not U-Boot packages are installed in /usr/pkgsrc, which is the default location searched by installboot(8).
This commit requires users to explicitly list the bootable images to be installed, which by default is none (i.e., prior behavior).
show more ...
|
#
99f61d3f |
| 21-Aug-2022 |
brook <brook@NetBSD.org> |
Create bootable images in ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/gzimg.
Release builds for arm platforms create compressed images in ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/gzimg. However, in
Create bootable images in ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/gzimg.
Release builds for arm platforms create compressed images in ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/gzimg. However, in some cases, e.g., armv7.img.gz, they are not bootable. Consequently, boot blocks must be manually installed in the images, which is an extra barrier for testing systems or adopting NetBSD. This has prompted creation of external repositories, e.g., armbsd.org, to host a collection of bootable images. However, this does not ease the burden on developers compiling their own systems; for them, manual installation of boot blocks is still required.
For arm platforms, etc/etc.evbarm/Makefile.inc contains the commands used to create system images. Because installboot(8) can write boot blocks directly to system images, a loop through possible boards can create a series of bootable images during the normal build process.
In the case of many arm platforms, installboot(8) uses U-Boot boot blocks, which are not part of the NetBSD source code. Developers can, however, install as many U-Boot boot blocks as desired, either in the default location of /usr/pkg/share/u-boot or in a set of directories pointed to by the U-Boot search path, the INSTALLBOOT_UBOOT_PATHS environment variable. For each board with an available boot block, a board-specific bootable image will be created in ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/gzimg. If a boot block is not available, which is the typical situation currently, no additional image will be created.
This facility creates opportunities to build bootable images for any number of boards within the scope of a standard release build. However, that is not required and will not occur without the intervention of installing U-Boot boot blocks prior to the build.
show more ...
|
#
b9cfee7c |
| 21-Aug-2022 |
lukem <lukem@NetBSD.org> |
BUILDING: regen for removal of extsrc/
|
#
7b29bb59 |
| 28-May-2022 |
andvar <andvar@NetBSD.org> |
s/knowlege/knowledge/
|
#
69f41f59 |
| 20-Dec-2021 |
christos <christos@NetBSD.org> |
Rename: MKKDEBUG -> MKDEBUGKERNEL MKTOOLSDEBUG -> MKDEBUGTOOLS while keeping compatibility with the old names. Add missing documentation. Now all debugging tunables are prefixed with MKDEBUG.
|
#
994be4e9 |
| 10-Nov-2020 |
kamil <kamil@NetBSD.org> |
Reintroduce the support of MKCATPAGES
Requested by <mrg>
|
#
4045d623 |
| 08-Nov-2020 |
kamil <kamil@NetBSD.org> |
Remove the support for MKCATPAGES
It was optional since 1999 and disabled by default since 2012.
Proposed on tech-userlevel@.
|
#
ee912053 |
| 13-Oct-2020 |
thorpej <thorpej@NetBSD.org> |
Document CPUFLAGS here (it's already documented in share/mk/bsd.README). This will address the initial concern in PR port-alpha/55545.
|
#
02b4a321 |
| 12-Oct-2020 |
uwe <uwe@NetBSD.org> |
Mention HOST_CFLAGS and HOST_CXXFLAGS.
|