The NetBSD Project

CVS log for src/doc/BUILDING.mdoc

[BACK] Up to [cvs.NetBSD.org] / src / doc

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.149 / (download) - annotate - [select for diffs], Sat Jul 22 18:50:04 2023 UTC (8 months ago) by lukem
Branch: MAIN
CVS Tags: HEAD
Changes since 1.148: +196 -9 lines
Diff to previous 1.148 (colored) to selected 1.36 (colored)

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.

Revision 1.148 / (download) - annotate - [select for diffs], Fri Jul 21 22:07:59 2023 UTC (8 months, 1 week ago) by lukem
Branch: MAIN
Changes since 1.147: +40 -13 lines
Diff to previous 1.147 (colored) to selected 1.36 (colored)

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".

Revision 1.147 / (download) - annotate - [select for diffs], Wed Jul 19 15:40:38 2023 UTC (8 months, 1 week ago) by lukem
Branch: MAIN
Changes since 1.146: +2 -2 lines
Diff to previous 1.146 (colored) to selected 1.36 (colored)

BUILDING: consistency fix

Revision 1.146 / (download) - annotate - [select for diffs], Tue Jul 18 16:59:57 2023 UTC (8 months, 1 week ago) by lukem
Branch: MAIN
Changes since 1.145: +47 -17 lines
Diff to previous 1.145 (colored) to selected 1.36 (colored)

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).

Revision 1.145 / (download) - annotate - [select for diffs], Wed Jul 5 16:41:12 2023 UTC (8 months, 3 weeks ago) by lukem
Branch: MAIN
Changes since 1.144: +12 -9 lines
Diff to previous 1.144 (colored) to selected 1.36 (colored)

BUILDING: wording tweaks

Revision 1.144 / (download) - annotate - [select for diffs], Sun Jun 11 20:34:14 2023 UTC (9 months, 2 weeks ago) by lukem
Branch: MAIN
Changes since 1.143: +89 -846 lines
Diff to previous 1.143 (colored) to selected 1.36 (colored)

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.

Revision 1.143 / (download) - annotate - [select for diffs], Sun Jun 11 10:49:44 2023 UTC (9 months, 2 weeks ago) by lukem
Branch: MAIN
Changes since 1.142: +175 -163 lines
Diff to previous 1.142 (colored) to selected 1.36 (colored)

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.

Revision 1.142 / (download) - annotate - [select for diffs], Sun Jun 11 10:43:51 2023 UTC (9 months, 2 weeks ago) by lukem
Branch: MAIN
Changes since 1.141: +4 -12 lines
Diff to previous 1.141 (colored) to selected 1.36 (colored)

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.

Revision 1.141 / (download) - annotate - [select for diffs], Mon Jun 5 22:36:17 2023 UTC (9 months, 3 weeks ago) by lukem
Branch: MAIN
Changes since 1.140: +19 -7 lines
Diff to previous 1.140 (colored) to selected 1.36 (colored)

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.

Revision 1.140 / (download) - annotate - [select for diffs], Sun Jun 4 20:08:21 2023 UTC (9 months, 3 weeks ago) by lukem
Branch: MAIN
Changes since 1.139: +408 -147 lines
Diff to previous 1.139 (colored) to selected 1.36 (colored)

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.

Revision 1.139 / (download) - annotate - [select for diffs], Fri Jun 2 20:48:41 2023 UTC (9 months, 3 weeks ago) by lukem
Branch: MAIN
Changes since 1.138: +37 -22 lines
Diff to previous 1.138 (colored) to selected 1.36 (colored)

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.

Revision 1.138 / (download) - annotate - [select for diffs], Thu May 18 14:22:53 2023 UTC (10 months, 1 week ago) by lukem
Branch: MAIN
Changes since 1.137: +43 -24 lines
Diff to previous 1.137 (colored) to selected 1.36 (colored)

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

Revision 1.137 / (download) - annotate - [select for diffs], Tue May 16 21:39:26 2023 UTC (10 months, 1 week ago) by lukem
Branch: MAIN
Changes since 1.136: +30 -16 lines
Diff to previous 1.136 (colored) to selected 1.36 (colored)

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, -?

Revision 1.136 / (download) - annotate - [select for diffs], Tue May 16 21:21:38 2023 UTC (10 months, 1 week ago) by lukem
Branch: MAIN
Changes since 1.135: +24 -4 lines
Diff to previous 1.135 (colored) to selected 1.36 (colored)

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.

Revision 1.135 / (download) - annotate - [select for diffs], Sun Aug 21 07:10:03 2022 UTC (19 months, 1 week ago) by lukem
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.134: +2 -34 lines
Diff to previous 1.134 (colored) to selected 1.36 (colored)

Deprecate extsrc/, EXTSRCSRCDIR, MKEXTSRC

Remove support for building extsrc/:
1. Makefile: remove do-extsrc target.
2. build.sh: remove options -y and -Y extsrcdir.
3. distrib/sets: remove support for extsrc in various tools
   including the options -L ext and -y, and the extsrc sets.
4. doc/BUILDING.mdoc: remove docs for extsrc/, EXTSRCSRCDIR, MKEXTSRC (etc)
5. bsd.own.mk and various Makefiles: remove support for extsrc/,
   EXTSRCSRCDIR, MKEXTSRC.

As proposed on tech-kern and tech-userlevel on 2022-01-07
and followed up on 2022-08-21.

Revision 1.134 / (download) - annotate - [select for diffs], Sat May 28 21:54:56 2022 UTC (22 months ago) by andvar
Branch: MAIN
Changes since 1.133: +2 -2 lines
Diff to previous 1.133 (colored) to selected 1.36 (colored)

s/knowlege/knowledge/

Revision 1.133 / (download) - annotate - [select for diffs], Tue Nov 10 21:47:49 2020 UTC (3 years, 4 months ago) by kamil
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.132: +8 -2 lines
Diff to previous 1.132 (colored) to selected 1.36 (colored)

Reintroduce the support of MKCATPAGES

Requested by <mrg>

Revision 1.132 / (download) - annotate - [select for diffs], Sun Nov 8 14:52:35 2020 UTC (3 years, 4 months ago) by kamil
Branch: MAIN
Changes since 1.131: +3 -9 lines
Diff to previous 1.131 (colored) to selected 1.36 (colored)

Remove the support for MKCATPAGES

It was optional since 1999 and disabled by default since 2012.

Proposed on tech-userlevel@.

Revision 1.131 / (download) - annotate - [select for diffs], Tue Oct 13 01:59:32 2020 UTC (3 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.130: +6 -1 lines
Diff to previous 1.130 (colored) to selected 1.36 (colored)

Document CPUFLAGS here (it's already documented in share/mk/bsd.README).
This will address the initial concern in PR port-alpha/55545.

Revision 1.130 / (download) - annotate - [select for diffs], Mon Oct 12 21:14:37 2020 UTC (3 years, 5 months ago) by uwe
Branch: MAIN
Changes since 1.129: +8 -2 lines
Diff to previous 1.129 (colored) to selected 1.36 (colored)

Mention HOST_CFLAGS and HOST_CXXFLAGS.

Revision 1.129 / (download) - annotate - [select for diffs], Mon Oct 12 21:12:34 2020 UTC (3 years, 5 months ago) by uwe
Branch: MAIN
Changes since 1.128: +11 -1 lines
Diff to previous 1.128 (colored) to selected 1.36 (colored)

If this file is processed with real roff (doc.tmac) tweak things to
make ascii output as close to the mandoc output as possible.
There are only two diffs:
- groff renders em-dash as -- in the NAME section
- mandoc misses "NetBSD" in the "NetBSD System Manager's Manual"
  section header

Revision 1.128 / (download) - annotate - [select for diffs], Mon Oct 12 21:05:54 2020 UTC (3 years, 5 months ago) by uwe
Branch: MAIN
Changes since 1.127: +2 -2 lines
Diff to previous 1.127 (colored) to selected 1.36 (colored)

Bump date and regen for BUILDING.mdoc revision 1.127
that introduced build.sh -c <compiler> option.

Revision 1.127 / (download) - annotate - [select for diffs], Tue Jun 30 21:22:19 2020 UTC (3 years, 8 months ago) by riastradh
Branch: MAIN
Changes since 1.126: +18 -1 lines
Diff to previous 1.126 (colored) to selected 1.36 (colored)

New build.sh option: -c <compiler>

Could never remember what the incantation is to do a clang build, so
now it's just `build.sh -c clang'.

Revision 1.124.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 21:42:38 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.124: +8 -8 lines
Diff to previous 1.124 (colored) next main 1.125 (colored) to selected 1.36 (colored)

Sync with HEAD

Revision 1.126 / (download) - annotate - [select for diffs], Wed May 8 14:03:57 2019 UTC (4 years, 10 months ago) by leot
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp
Changes since 1.125: +3 -3 lines
Diff to previous 1.125 (colored) to selected 1.36 (colored)

Fix a typo

Reported by Tobias Ulmer via netbsd-docs@ ML, thanks!

Revision 1.124.2.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:51:43 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.124: +6 -6 lines
Diff to previous 1.124 (colored) next main 1.125 (colored) to selected 1.36 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.125 / (download) - annotate - [select for diffs], Sun Jul 29 20:53:29 2018 UTC (5 years, 8 months ago) by sevan
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.124: +6 -6 lines
Diff to previous 1.124 (colored) to selected 1.36 (colored)

Spelling mistake.
Reword MKINFO description.

Revision 1.124 / (download) - annotate - [select for diffs], Fri Feb 16 10:05:01 2018 UTC (6 years, 1 month ago) by leot
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored) to selected 1.36 (colored)

Fix a typo.

Pointed out by aalm in #NetBSD@Freenode.

Revision 1.123 / (download) - annotate - [select for diffs], Fri Dec 29 03:04:56 2017 UTC (6 years, 3 months ago) by sevan
Branch: MAIN
Changes since 1.122: +7 -2 lines
Diff to previous 1.122 (colored) to selected 1.36 (colored)

While SH3 is no longer an exception, m68000 still is.

Revision 1.122 / (download) - annotate - [select for diffs], Sat Oct 21 22:03:01 2017 UTC (6 years, 5 months ago) by sevan
Branch: MAIN
Changes since 1.121: +8 -4 lines
Diff to previous 1.121 (colored) to selected 1.36 (colored)

Direct reader to use build.sh for building NetBSD in favour of using make directly.
Give an example of why build.sh is better to use.

Revision 1.121 / (download) - annotate - [select for diffs], Sat Oct 21 21:16:07 2017 UTC (6 years, 5 months ago) by sevan
Branch: MAIN
Changes since 1.120: +4 -9 lines
Diff to previous 1.120 (colored) to selected 1.36 (colored)

SH3 is no longer an exception for MKPIC, in src/share/mk/bsd.own.mk we set MKPIC
to yes by default.
Kill trailing whitespace.

Revision 1.120 / (download) - annotate - [select for diffs], Sun May 21 15:28:38 2017 UTC (6 years, 10 months ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.119: +1 -10 lines
Diff to previous 1.119 (colored) to selected 1.36 (colored)

Remove MKCRYPTO option.

Originally, MKCRYPTO was introduced because the United States
classified cryptography as a munition and restricted its export.  The
export controls were substantially relaxed fifteen years ago, and are
essentially irrelevant for software with published source code.

In the intervening time, nobody bothered to remove the option after
its motivation -- the US export restriction -- was eliminated.  I'm
not aware of any other operating system that has a similar option; I
expect it is mainly out of apathy for churn that we still have it.
Today, cryptography is an essential part of modern computing -- you
can't use the internet responsibly without cryptography.

The position of the TNF board of directors is that TNF makes no
representation that MKCRYPTO=no satisfies any country's cryptography
regulations.

My personal position is that the availability of cryptography is a
basic human right; that any local laws restricting it to a privileged
few are fundamentally immoral; and that it is wrong for developers to
spend effort crippling cryptography to work around such laws.

As proposed on tech-crypto, tech-security, and tech-userlevel to no
objections:

https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html
https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html

P.S.  Reviewing all the uses of MKCRYPTO in src revealed a lot of
*bad* crypto that was conditional on it, e.g. DES in telnet...  That
should probably be removed too, but on the grounds that it is bad,
not on the grounds that it is (nominally) crypto.

Revision 1.115.2.2 / (download) - annotate - [select for diffs], Wed Apr 26 02:52:18 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.115.2.1: +26 -3 lines
Diff to previous 1.115.2.1 (colored) to branchpoint 1.115 (colored) next main 1.116 (colored) to selected 1.36 (colored)

Sync with HEAD

Revision 1.119 / (download) - annotate - [select for diffs], Sat Apr 22 07:48:19 2017 UTC (6 years, 11 months ago) by plunky
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426
Changes since 1.118: +2 -2 lines
Diff to previous 1.118 (colored) to selected 1.36 (colored)

state correct location for install-image (RELEASEDIR/images)

Revision 1.115.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:51:16 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.115: +41 -3 lines
Diff to previous 1.115 (colored) next main 1.116 (colored) to selected 1.36 (colored)

Sync with HEAD

Revision 1.118 / (download) - annotate - [select for diffs], Thu Apr 20 09:47:41 2017 UTC (6 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: bouyer-socketcan-base1
Changes since 1.117: +11 -3 lines
Diff to previous 1.117 (colored) to selected 1.36 (colored)

Use Fl and Xr. New sentence, new line.

Revision 1.117 / (download) - annotate - [select for diffs], Thu Apr 20 09:29:10 2017 UTC (6 years, 11 months ago) by ozaki-r
Branch: MAIN
Changes since 1.116: +17 -2 lines
Diff to previous 1.116 (colored) to selected 1.36 (colored)

Introduce MKSTRIPSYM build option

If it's yes, all local symbols of shared libraries are stripped
(default). If it's no, only temporary local symbols are stripped;
for example, symbols of static functions are kept. Keeping such
symbols is useful on using DTrace for userland libraries and
getting a backtrace from a rump server loading modules (shared
libraries).

Proposed and discussed on tech-kern and tech-toolchain

Revision 1.115.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:52:12 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.115: +18 -3 lines
Diff to previous 1.115 (colored) to selected 1.36 (colored)

Sync with HEAD

Revision 1.116 / (download) - annotate - [select for diffs], Mon Feb 20 20:56:30 2017 UTC (7 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320
Changes since 1.115: +18 -3 lines
Diff to previous 1.115 (colored) to selected 1.36 (colored)

document -P

Revision 1.115 / (download) - annotate - [select for diffs], Fri Jan 29 13:51:13 2016 UTC (8 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.114: +10 -2 lines
Diff to previous 1.114 (colored) to selected 1.36 (colored)

Document MKREPRO_TIMESTAMP.

Revision 1.114 / (download) - annotate - [select for diffs], Thu Jul 23 08:03:25 2015 UTC (8 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.113: +6 -17 lines
Diff to previous 1.113 (colored) to selected 1.36 (colored)

remove the xfree86 reachover makefiles and the vast majority of
the support in the rest of the source tree.

X11 sets could use some cleaning up perhaps (just deletion, as
we've never really marked the old X11R6 as obsolete for native
xorg using platforms so far either.)

Revision 1.113 / (download) - annotate - [select for diffs], Sun Jun 7 05:30:18 2015 UTC (8 years, 9 months ago) by pgoyette
Branch: MAIN
Changes since 1.112: +2 -2 lines
Diff to previous 1.112 (colored) to selected 1.36 (colored)

Update location of live-images to reflect changes made in rev 1.398 of
src/etc/Makefile

Revision 1.87.2.2 / (download) - annotate - [select for diffs], Tue Apr 14 13:34:30 2015 UTC (8 years, 11 months ago) by msaitoh
Branch: netbsd-6
Changes since 1.87.2.1: +2 -2 lines
Diff to previous 1.87.2.1 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored) to selected 1.36 (colored)

Pull up following revision(s) (requested by riastradh in ticket #1274):
	doc/BUILDING.mdoc: revision 1.111
Use `It Sy', not just `It', for live-image, to match other targets.
No change to plain-text BUILDING file.

Revision 1.112 / (download) - annotate - [select for diffs], Wed Apr 8 05:47:43 2015 UTC (8 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.111: +4 -4 lines
Diff to previous 1.111 (colored) to selected 1.36 (colored)

Update Xorg defaults description. From Joachim Henke on netbsd-docs.

Revision 1.104.2.2 / (download) - annotate - [select for diffs], Wed Mar 18 08:27:34 2015 UTC (9 years ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.104.2.1: +2 -2 lines
Diff to previous 1.104.2.1 (colored) to branchpoint 1.104 (colored) next main 1.105 (colored) to selected 1.36 (colored)

Pull up following revision(s) (requested by riastradh in ticket #611):
	doc/BUILDING.mdoc: revision 1.111
Use `It Sy', not just `It', for live-image, to match other targets.
No change to plain-text BUILDING file.

Revision 1.111 / (download) - annotate - [select for diffs], Thu Jan 8 23:59:26 2015 UTC (9 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.110: +2 -2 lines
Diff to previous 1.110 (colored) to selected 1.36 (colored)

Use `It Sy', not just `It', for live-image, to match other targets.

No change to plain-text BUILDING file.

Revision 1.110 / (download) - annotate - [select for diffs], Sun Nov 30 15:53:29 2014 UTC (9 years, 3 months ago) by uebayasi
Branch: MAIN
Changes since 1.109: +0 -10 lines
Diff to previous 1.109 (colored) to selected 1.36 (colored)

Add a new build make variable, CONFIGOPTS, which is passed to config(1)
when building kernels.  Revert "mkernel=*" and "mkernels" in favor of
this option.

Diff posted on source-changes-d@, approved by (null).

Revision 1.109 / (download) - annotate - [select for diffs], Sun Nov 16 06:10:31 2014 UTC (9 years, 4 months ago) by uebayasi
Branch: MAIN
Changes since 1.108: +4 -0 lines
Diff to previous 1.108 (colored) to selected 1.36 (colored)

Document build.sh mkernels.

Revision 1.108 / (download) - annotate - [select for diffs], Sun Nov 16 05:44:57 2014 UTC (9 years, 4 months ago) by uebayasi
Branch: MAIN
Changes since 1.107: +7 -1 lines
Diff to previous 1.107 (colored) to selected 1.36 (colored)

Document mkernel=*.

Revision 1.104.2.1 / (download) - annotate - [select for diffs], Fri Nov 14 14:58:28 2014 UTC (9 years, 4 months ago) by martin
Branch: netbsd-7
Changes since 1.104: +5 -5 lines
Diff to previous 1.104 (colored) to selected 1.36 (colored)

Pull up following revision(s) (requested by snj in ticket #227):
	Makefile: revision 1.311
	build.sh: revision 1.299
	doc/BUILDING.mdoc: revision 1.105
	distrib/notes/macppc/prep.OPENFIRMWARE: revision 1.16
	distrib/notes/macppc/prep.OPENFIRMWARE: revision 1.17
	BUILDING: revision 1.110
	distrib/notes/arc/prep: revision 1.3
	distrib/notes/arc/prep: revision 1.4
	distrib/notes/cats/prep: revision 1.12
	distrib/notes/cats/prep: revision 1.13
	distrib/notes/sparc/install: revision 1.58
	distrib/notes/common/main: revision 1.512
	share/man/man8/man8.macppc/ofwboot.8: revision 1.13
Update path to release ISOs.

Revision 1.107 / (download) - annotate - [select for diffs], Thu Nov 13 08:25:31 2014 UTC (9 years, 4 months ago) by apb
Branch: MAIN
Changes since 1.106: +33 -1 lines
Diff to previous 1.106 (colored) to selected 1.36 (colored)

Document "extsrc".  This was added to src/BUILDING in revision 1.90
dated 2009-11-30, but was not added to src/doc/BUILDING.mdoc,
so the changes were lost.

The original log message was:
- - - -
revision 1.90
date: 2009-11-30 16:13:22 +0000;  author: uebayasi;  state: Exp;  lines: +22 -0;
Support "extsrc", externally added programs and libraries.  Users can write
their own reach-overs, cross-build, install, and get set files just like base
and X11 / X.org.  (These sets are not included as TNF releases.)
- - - -

Revision 1.106 / (download) - annotate - [select for diffs], Thu Nov 6 06:41:23 2014 UTC (9 years, 4 months ago) by uebayasi
Branch: MAIN
Changes since 1.105: +8 -1 lines
Diff to previous 1.105 (colored) to selected 1.36 (colored)

Document the "kernels" operation.

Revision 1.105 / (download) - annotate - [select for diffs], Wed Nov 5 08:15:04 2014 UTC (9 years, 4 months ago) by snj
Branch: MAIN
Changes since 1.104: +5 -5 lines
Diff to previous 1.104 (colored) to selected 1.36 (colored)

sync with reality: iso -> images

Revision 1.89.2.3 / (download) - annotate - [select for diffs], Tue Aug 19 23:45:49 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.89.2.2: +195 -49 lines
Diff to previous 1.89.2.2 (colored) next main 1.90 (colored) to selected 1.36 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.95.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 07:03:02 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.95: +195 -49 lines
Diff to previous 1.95 (colored) next main 1.96 (colored) to selected 1.36 (colored)

Rebase.

Revision 1.104 / (download) - annotate - [select for diffs], Thu Aug 7 21:45:27 2014 UTC (9 years, 7 months ago) by apb
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.103: +33 -1 lines
Diff to previous 1.103 (colored) to selected 1.36 (colored)

Add advice about avoiding common pitfalls.

This is taken from the patch in PR 48741, by David H. Gutteridge,
but I made small changes to wording and markup.

Revision 1.103 / (download) - annotate - [select for diffs], Thu Aug 7 21:32:11 2014 UTC (9 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.102: +63 -30 lines
Diff to previous 1.102 (colored) to selected 1.36 (colored)

Document build.sh list-arch

Revision 1.102 / (download) - annotate - [select for diffs], Sun Aug 3 09:25:02 2014 UTC (9 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.101: +2 -2 lines
Diff to previous 1.101 (colored) to selected 1.36 (colored)

Bump date for previous

Revision 1.101 / (download) - annotate - [select for diffs], Sun Aug 3 09:24:08 2014 UTC (9 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.100: +20 -1 lines
Diff to previous 1.100 (colored) to selected 1.36 (colored)

BUILDINFO part 5: Document BUILDINFO in doc/BUILDING.mdoc.

Revision 1.100 / (download) - annotate - [select for diffs], Sat Jun 14 12:20:17 2014 UTC (9 years, 9 months ago) by apb
Branch: MAIN
Changes since 1.99: +8 -2 lines
Diff to previous 1.99 (colored) to selected 1.36 (colored)

Improve documentation for BUILDID.

Revision 1.85.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:27:14 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.85.2.3: +4 -5 lines
Diff to previous 1.85.2.3 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored) to selected 1.36 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.99 / (download) - annotate - [select for diffs], Wed May 21 13:11:25 2014 UTC (9 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.98: +30 -25 lines
Diff to previous 1.98 (colored) to selected 1.36 (colored)

Use Pa for paths. Fix a couple of typos.

Revision 1.98 / (download) - annotate - [select for diffs], Mon May 19 10:12:19 2014 UTC (9 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.97: +29 -1 lines
Diff to previous 1.97 (colored) to selected 1.36 (colored)

Document MKCROSSGDB, MKKDEBUG and build.sh kernel.gdb=

Revision 1.97 / (download) - annotate - [select for diffs], Mon May 19 09:56:17 2014 UTC (9 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.96: +20 -1 lines
Diff to previous 1.96 (colored) to selected 1.36 (colored)

Document MKDEBUG and MKDEBUGLIB

Revision 1.96 / (download) - annotate - [select for diffs], Mon May 19 09:49:07 2014 UTC (9 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.95: +5 -1 lines
Diff to previous 1.95 (colored) to selected 1.36 (colored)

Document external directories

Revision 1.95 / (download) - annotate - [select for diffs], Tue Dec 24 20:10:29 2013 UTC (10 years, 3 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored) to selected 1.36 (colored)

Add missing Ar

Revision 1.89.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:26:21 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.89.2.1: +3 -4 lines
Diff to previous 1.89.2.1 (colored) to selected 1.36 (colored)

resync from head

Revision 1.94 / (download) - annotate - [select for diffs], Wed May 29 14:45:55 2013 UTC (10 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.93: +3 -4 lines
Diff to previous 1.93 (colored) to selected 1.36 (colored)

- Bump date (for r1.93);
- remove superfluous macros (fixes mandoc(1) warnings).

From Bug Hunting.

Revision 1.85.2.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:26:12 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.85.2.2: +2 -2 lines
Diff to previous 1.85.2.2 (colored) to branchpoint 1.85 (colored) to selected 1.36 (colored)

sync with (a bit old) head

Revision 1.89.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 02:57:55 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.89: +24 -24 lines
Diff to previous 1.89 (colored) to selected 1.36 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.85.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 18:48:57 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.85.2.1: +30 -23 lines
Diff to previous 1.85.2.1 (colored) to branchpoint 1.85 (colored) to selected 1.36 (colored)

sync with head

Revision 1.91 / (download) - annotate - [select for diffs], Wed Sep 19 23:08:37 2012 UTC (11 years, 6 months ago) by abs
Branch: MAIN
Changes since 1.90: +16 -16 lines
Diff to previous 1.90 (colored) to selected 1.36 (colored)

strip trailing whitespace

Revision 1.90 / (download) - annotate - [select for diffs], Wed Sep 19 23:06:22 2012 UTC (11 years, 6 months ago) by abs
Branch: MAIN
Changes since 1.89: +5 -5 lines
Diff to previous 1.89 (colored) to selected 1.36 (colored)

Fix inverted logic description for MKSTRIPIDENT.
Noted by Snader_LB on freenode IRC

Revision 1.89 / (download) - annotate - [select for diffs], Fri May 25 10:47:25 2012 UTC (11 years, 10 months ago) by wiz
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.88: +9 -2 lines
Diff to previous 1.88 (colored) to selected 1.36 (colored)

Document MKREPRO using joerg's wording.

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:02:55 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.85: +80 -1 lines
Diff to previous 1.85 (colored) to selected 1.36 (colored)

sync with head

Revision 1.87.2.1 / (download) - annotate - [select for diffs], Fri Mar 2 16:48:10 2012 UTC (12 years ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored) to selected 1.36 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #68):
	doc/BUILDING.mdoc: revision 1.88
	BUILDING: revision 1.99
	build.sh: revision 1.254
Add a missing period.
Add sanity checks for live-image and install-image targets
(which require mtree spec files built with MKUNPRIVED=yes)
to avoid unexpected makefs(8) error during image builds:
 - if release op is specified with live-image or install-image
   at the same time, make sure -U is also specified for the image builds
 - before perform live-image and install-image ops check METALOG file
   in DESTDIR to see if the build have been performed with MKUNPRIVED
XXX: Probably toolchain should create consistent spec files in
XXX: DESTDIR/etc/mtree dir regardless of MKUNPRIVED settings.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Feb 23 13:34:16 2012 UTC (12 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored) to selected 1.36 (colored)

Add a missing period.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Feb 14 21:32:07 2012 UTC (12 years, 1 month ago) by apb
Branch: MAIN
CVS Tags: netbsd-6-base
Branch point for: netbsd-6
Changes since 1.86: +29 -20 lines
Diff to previous 1.86 (colored) to selected 1.36 (colored)

Minor changes to wording in the documentation for
build.sh install-image and live-image.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Feb 14 21:19:19 2012 UTC (12 years, 1 month ago) by apb
Branch: MAIN
Changes since 1.85: +71 -1 lines
Diff to previous 1.85 (colored) to selected 1.36 (colored)

Document build.sh "live-image" and "install-image" targets.

These were documented in revision 1.97 of src/BUILDING, but were
not documented in src/doc/BUILDING.sh.  The original log message
was:

revision 1.97
date: 2012/01/22 03:53:32;  author: tsutsui;  state: Exp;  lines: +39 -0
Add "live-image" and "install-image" target support to build.sh.

"live-image" target builds pre-installed disk images that can be used on
emulators or boot from USB memory sticks to try NetBSD without installation.
Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax
(which have working emulators and don't require extra tools like preparing
 msdosfs or partitioning MD label structures) support this target.

"install-image" target builds an bootable installation disk image that can
be used as an install CD but burned into USB memory sticks etc.
Current only amd64 and i386 (which would support USB boot) have this target.

For more details (and known issue) see following posts on netbsd-bugs@:
http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html

No particular comments about implementation, and
"go ahead" comments from mrg@, riz@ and christos@.

Closes PR toolchain/45153 and PR misc/45155.

Revision 1.85 / (download) - annotate - [select for diffs], Fri Sep 9 18:48:34 2011 UTC (12 years, 6 months ago) by apb
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.84: +69 -27 lines
Diff to previous 1.84 (colored) to selected 1.36 (colored)

Add tests for the shell under which build.sh is run.  If the
shell fails the tests, then build.sh tries to re-exec itself
under a more suitable shell.

Revision 1.84 / (download) - annotate - [select for diffs], Fri Sep 9 14:23:38 2011 UTC (12 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored) to selected 1.36 (colored)

Move the code for creating src/BUILDING from "make build-docs" in
src/Makefile to "make regen" in src/doc/Makefile, and update a comment
in doc/BUILDING.mdoc to match.

Revision 1.83 / (download) - annotate - [select for diffs], Fri Sep 9 14:01:28 2011 UTC (12 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.82: +9 -3 lines
Diff to previous 1.82 (colored) to selected 1.36 (colored)

Revisions 1.92 and 1.93 of src/BUILDING were not reflected in
src/doc/BUILDING.mdoc, so those changes were lost when src/BUILDING
was regenerated in revision 1.94.

Now update src/doc/BUILDING.mdoc and regenerate src/BUILDING to
reinstate the lost changes.  (I also edited one of the changes, to use
the phrase "space-separated list" for consistency with other parts of
the document.)

The original changes were:

Revision 1.82 / (download) - annotate - [select for diffs], Fri Sep 9 13:29:23 2011 UTC (12 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.81: +12 -3 lines
Diff to previous 1.81 (colored) to selected 1.36 (colored)

Allow MAKEFLAGS to be set via build.sh -V.  Somebody asked for this
in 2008.

Also add comments above a few functions in build.sh, and bump copyright
dates.

Revision 1.93 / (download) - annotate - [select for diffs], Sat Aug 6 19:52:49 2011 UTC (12 years, 7 months ago) by jnemeth
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, khorben-n900, agc-symver-base, agc-symver
Changes since 1.92: +5 -0 lines
Diff to previous 1.92 (colored) to selected 1.36 (colored)

MKCATPAGES defaults to no these days; noted on netbsd-docs by Luc van
der Veen.
Add description of MKKMOD, part of PR misc/45216

Revision 1.93 / (download) - annotate - [select for diffs], Sat Aug 6 19:52:49 2011 UTC (12 years, 7 months ago) by jnemeth
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, khorben-n900, agc-symver-base, agc-symver
Changes since 1.92: +5 -0 lines
Diff to previous 1.92 (colored) to selected 1.36 (colored)

MKCATPAGES defaults to no these days; noted on netbsd-docs by Luc van
der Veen.
Add description of MKKMOD, part of PR misc/45216

Revision 1.67.2.2.4.1 / (download) - annotate - [select for diffs], Fri May 20 08:11:16 2011 UTC (12 years, 10 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.67.2.2: +9 -2 lines
Diff to previous 1.67.2.2 (colored) next main 1.67.2.3 (colored) to selected 1.36 (colored)

bring matt-nb5-mips64 up to date with netbsd-5-1-RELEASE (except compat).

Revision 1.92 / (download) - annotate - [select for diffs], Sat Jan 29 16:56:26 2011 UTC (13 years, 2 months ago) by jym
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.91: +6 -4 lines
Diff to previous 1.91 (colored) to selected 1.36 (colored)

Adjust postinstall recommendation syntax. based on comment from Snader_LB on IRC
Pass down INSTALLSETS variable to installsets target. Use :Q to escape
shell meta-characters, as the variable contains a list of sets, separated
by spaces.

$ ./build.sh -V INSTALLSETS="base etc" install=idir

should now work as expected.

Reviewed by apb@ on tech-toolchain.

Revision 1.92 / (download) - annotate - [select for diffs], Sat Jan 29 16:56:26 2011 UTC (13 years, 2 months ago) by jym
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.91: +6 -4 lines
Diff to previous 1.91 (colored) to selected 1.36 (colored)

Adjust postinstall recommendation syntax. based on comment from Snader_LB on IRC
Pass down INSTALLSETS variable to installsets target. Use :Q to escape
shell meta-characters, as the variable contains a list of sets, separated
by spaces.

$ ./build.sh -V INSTALLSETS="base etc" install=idir

should now work as expected.

Reviewed by apb@ on tech-toolchain.

Revision 1.81 / (download) - annotate - [select for diffs], Sun Jul 25 07:19:00 2010 UTC (13 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.80: +1 -17 lines
Diff to previous 1.80 (colored) to selected 1.36 (colored)

remove the MKSUBPIXEL/MKTTINTERP options; they're going away.

regenerate.

Revision 1.80 / (download) - annotate - [select for diffs], Sat Oct 10 19:05:29 2009 UTC (14 years, 5 months ago) by apb
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.79: +4 -2 lines
Diff to previous 1.79 (colored) to selected 1.36 (colored)

If ${NETBDSRCDIR}/../xsrc exists, then use it as the default value
of X11SRCDIR.  If it doesn't exist, then use /usr/xsrc as before.

OK mrg

Revision 1.79 / (download) - annotate - [select for diffs], Fri Oct 2 07:43:01 2009 UTC (14 years, 5 months ago) by cegger
Branch: MAIN
Changes since 1.78: +1 -1 lines
Diff to previous 1.78 (colored) to selected 1.36 (colored)

backout wrong changes after I got teached that the vowel *sound* matters
and not the spelling letter (which is what I learned at school).

Revision 1.78 / (download) - annotate - [select for diffs], Fri Oct 2 07:17:16 2009 UTC (14 years, 5 months ago) by cegger
Branch: MAIN
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored) to selected 1.36 (colored)

fix grammar: a -> an

Revision 1.77 / (download) - annotate - [select for diffs], Sun Sep 27 18:08:24 2009 UTC (14 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.76: +48 -10 lines
Diff to previous 1.76 (colored) to selected 1.36 (colored)

* Use a more robust method of creating the top level object directory.
  Use getmakevar to expand MAKEOBJDIRPREFIX or MAKEOBJDIR, or (if
  neither of those variables is set) use a non-recursive "make obj" in
  the top level source directory.

* Do not let TOP_objdir default to ${TOP}.  It's now set only by the
  -M or -O command line options, or after using getmakevar to expand
  MAKEOBJDIRPREFIX or MAKEOBJDIR.

* Make try_set_TOOLDIR handle MAKEOBJDIRPERFIX passed from the
  environment.  It runs too early to use getmakevar, so it will not work
  if the value contains embedded '${...}' variable references.

* Use '$TOOLDIR' (with a literal '$') instead of 'nonexistent' in
  a message when rebuilding make when TOOLDIR is not yet known.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Sep 27 17:28:38 2009 UTC (14 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.75: +13 -7 lines
Diff to previous 1.75 (colored) to selected 1.36 (colored)

Allow build.sh "-C cdextra" option to be specified multiple times.

Revision 1.75 / (download) - annotate - [select for diffs], Sun Sep 27 16:44:40 2009 UTC (14 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.74: +5 -1 lines
Diff to previous 1.74 (colored) to selected 1.36 (colored)

Revision 1.86 of src/BUILDING somehow got committed without the
corresponding changes to src/doc/BUILDING.mdoc.  Fix that now.
The original log message was:

Add a modules operation to build.sh, which builds and installs kernel modules
into DESTDIR.

This is based on the patch provided by tsutsui@ on tech-toolchain@.

Revision 1.74 / (download) - annotate - [select for diffs], Sun Jul 12 14:16:36 2009 UTC (14 years, 8 months ago) by hubertf
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored) to selected 1.36 (colored)

s/reproducable/reproducible/, requested by salo@

Revision 1.73 / (download) - annotate - [select for diffs], Sun Jul 12 12:14:51 2009 UTC (14 years, 8 months ago) by hubertf
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored) to selected 1.36 (colored)

Add a keywords for people looking for reproducable (identical) builds.

Revision 1.71.2.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:01 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.71: +9 -2 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.36 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.67.2.3 / (download) - annotate - [select for diffs], Mon May 11 19:40:22 2009 UTC (14 years, 10 months ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.67.2.2: +9 -2 lines
Diff to previous 1.67.2.2 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored) to selected 1.36 (colored)

Pull up following revision(s) (requested by snj in ticket #742):
	doc/BUILDING.mdoc: revision 1.72
	external/mit/xorg/lib/freetype/Makefile: revision 1.5
	BUILDING: revision 1.83
Introduce MKSUBPIXEL, which allows enabling subpixel rendering code
in FreeType.

Revision 1.72 / (download) - annotate - [select for diffs], Fri May 1 19:42:18 2009 UTC (14 years, 11 months ago) by snj
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.71: +9 -2 lines
Diff to previous 1.71 (colored) to selected 1.36 (colored)

Introduce MKSUBPIXEL, which allows enabling subpixel rendering code
in FreeType.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Dec 2 22:28:21 2008 UTC (15 years, 3 months ago) by mrg
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.70: +9 -3 lines
Diff to previous 1.70 (colored) to selected 1.36 (colored)

be explicit about MAKEOBJDIR and MAKEOBJDIRPREFIX not being for
mk.conf or ${MAKECONF}.

Revision 1.67.2.2 / (download) - annotate - [select for diffs], Sat Nov 15 22:10:33 2008 UTC (15 years, 4 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.67.2.1: +2 -2 lines
Diff to previous 1.67.2.1 (colored) to branchpoint 1.67 (colored) to selected 1.36 (colored)

Pull up following revision(s) (requested by mrg in ticket #64):
	share/man/man5/mk.conf.5: revision 1.46
	share/mk/bsd.own.mk: revision 1.550
	doc/BUILDING.mdoc: revision 1.70
	BUILDING: revision 1.81
	share/mk/bsd.README: revision 1.242
revert sparc back to default of XFree86 at the request of macallan.

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Sat Nov 15 22:05:12 2008 UTC (15 years, 4 months ago) by snj
Branch: netbsd-5
Changes since 1.67: +13 -14 lines
Diff to previous 1.67 (colored) to selected 1.36 (colored)

Pull up following revision(s) (requested by mrg in ticket #64):
	distrib/sets/Makefile: revision 1.64
	external/mit/xorg/server/Makefile: revision 1.5
	share/mk/bsd.README: revision 1.237
	BUILDING: revision 1.79
	share/mk/bsd.x11.mk: revision 1.71
	share/mk/bsd.own.mk: revision 1.544
	usr.bin/ssh/Makefile.inc: revision 1.18
	distrib/sets/sets.subr: revision 1.72
	share/man/man5/mk.conf.5: revision 1.42
	doc/BUILDING.mdoc: revision 1.68
	etc/Makefile: revision 1.360
	Makefile: revision 1.263
- retire MKXORG from public use
- introduce X11FLAVOUR to choose src/x11 vs src/external/mit/xorg
  for the X11 to build if MKX11=yes is set.  it takes the values
  of either Xorg or XFree86.
- default to Xorg on alpha, i386, macppc, shark, sparc and sparc64
- remove MKXORG_WITH_XSRC_XSERVER, unused and never useful

Revision 1.70 / (download) - annotate - [select for diffs], Sat Nov 15 11:27:49 2008 UTC (15 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored) to selected 1.36 (colored)

revert sparc back to default of XFree86 at the request of macallan.

Revision 1.69 / (download) - annotate - [select for diffs], Thu Nov 13 20:40:11 2008 UTC (15 years, 4 months ago) by apb
Branch: MAIN
Changes since 1.68: +27 -6 lines
Diff to previous 1.68 (colored) to selected 1.36 (colored)

Add support for new MAKEVERBOSE levels 3 and 4.  The complete list is now:

 0   Minimal output ("quiet")
 1   Describe what is occurring
 2   Describe what is occurring and echo the actual command
 3   Ignore the effect of the "@" prefix in make commands
 4   Trace shell commands using the shell's -x flag

The default remains MAKEVERBOSE=2.

Revision 1.68 / (download) - annotate - [select for diffs], Sun Nov 9 23:02:29 2008 UTC (15 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.67: +13 -14 lines
Diff to previous 1.67 (colored) to selected 1.36 (colored)

- retire MKXORG from public use
- introduce X11FLAVOUR to choose src/x11 vs src/external/mit/xorg
  for the X11 to build if MKX11=yes is set.  it takes the values
  of either Xorg or XFree86.
- default to Xorg on alpha, i386, macppc, shark, sparc and sparc64
- remove MKXORG_WITH_XSRC_XSERVER, unused and never useful

Revision 1.59.2.2 / (download) - annotate - [select for diffs], Sun Oct 5 20:11:18 2008 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.59.2.1: +1727 -0 lines
Diff to previous 1.59.2.1 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored) to selected 1.36 (colored)

Sync with HEAD.

Revision 1.59.4.2 / (download) - annotate - [select for diffs], Wed Sep 24 16:32:55 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.59.4.1: +9 -2 lines
Diff to previous 1.59.4.1 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored) to selected 1.36 (colored)

Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Sep 24 07:36:52 2008 UTC (15 years, 6 months ago) by apb
Branch: MAIN
CVS Tags: netbsd-5-base, mjf-devfs2-base, matt-mips64-base2
Branch point for: netbsd-5
Changes since 1.66: +11 -13 lines
Diff to previous 1.66 (colored) to selected 1.36 (colored)

* Strengthen the advice against relying on the default objdir selection
  rules.
* Add "[options]" to examples in an attempt to make it clear that
  extra options should be passed.

Revision 1.59.4.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:40:18 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.59: +105 -23 lines
Diff to previous 1.59 (colored) to selected 1.36 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Sep 10 11:16:41 2008 UTC (15 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3
Changes since 1.65: +9 -2 lines
Diff to previous 1.65 (colored) to selected 1.36 (colored)

Document MKSTRIPIDENT. Requested by lukem@

Revision 1.65 / (download) - annotate - [select for diffs], Sat Sep 6 23:22:46 2008 UTC (15 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-2
Changes since 1.64: +7 -1 lines
Diff to previous 1.64 (colored) to selected 1.36 (colored)

document MKHTML

Revision 1.64 / (download) - annotate - [select for diffs], Thu Aug 28 07:21:49 2008 UTC (15 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.63: +13 -1 lines
Diff to previous 1.63 (colored) to selected 1.36 (colored)

Improve support for MKXORG!=no to enable builds into external/mit/xorg.
This will be mutually exclusive to MKX11!=no.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Aug 18 05:27:05 2008 UTC (15 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.62: +7 -7 lines
Diff to previous 1.62 (colored) to selected 1.36 (colored)

Document "build.sh cleandir".
Fix formatting nit.
Remove BUGS; all the in-tree platforms are using build.sh now.

Revision 1.62 / (download) - annotate - [select for diffs], Mon Aug 11 08:22:40 2008 UTC (15 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.61: +14 -7 lines
Diff to previous 1.61 (colored) to selected 1.36 (colored)

* Suggest a "-j" value between 1+NCPU and 2*NCPU for the fastest builds.
* Remove some duplicated content that appeared in both the section about
  make's -j flag and the section about build.sh's -j flag.

Revision 1.61 / (download) - annotate - [select for diffs], Tue Aug 5 22:40:33 2008 UTC (15 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.60: +53 -13 lines
Diff to previous 1.60 (colored) to selected 1.36 (colored)

* Add more detail for build.sh -M and -O options.
* Mention new default when source is /usr/src but build.sh is run
  with neither -M nor -O.

Revision 1.60 / (download) - annotate - [select for diffs], Tue Aug 5 19:43:33 2008 UTC (15 years, 7 months ago) by perry
Branch: MAIN
Changes since 1.59: +18 -1 lines
Diff to previous 1.59 (colored) to selected 1.36 (colored)

Builds now use "BUILDSEED" so that c++ binaries are reproduceable.
By default BUILDSEED is set to NetBSD-{majorversion} -- a -S flag may
be used to change it.

Discussed on tech-toolchain.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:29:42 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.58: +1 -8 lines
Diff to previous 1.58 (colored) next main 1.59 (colored) to selected 1.36 (colored)

sync with head.

Revision 1.59.2.1, Wed Apr 30 13:10:49 2008 UTC (15 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.59: +0 -1640 lines
FILE REMOVED

file BUILDING.mdoc was added on branch mjf-devfs2 on 2008-10-05 20:11:18 +0000

Revision 1.59 / (download) - annotate - [select for diffs], Wed Apr 30 13:10:49 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, mjf-devfs2
Changes since 1.58: +1 -8 lines
Diff to previous 1.58 (colored) to selected 1.36 (colored)

Convert TNF licenses to new 2 clause variant

Revision 1.58 / (download) - annotate - [select for diffs], Sat Mar 29 05:22:42 2008 UTC (16 years ago) by dholland
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.57: +16 -2 lines
Diff to previous 1.57 (colored) to selected 1.36 (colored)

Correct/clarify the default setting of USETOOLS in the previous version.
Noted by apb.

Revision 1.57 / (download) - annotate - [select for diffs], Fri Mar 28 05:23:44 2008 UTC (16 years ago) by dholland
Branch: MAIN
Changes since 1.56: +115 -47 lines
Diff to previous 1.56 (colored) to selected 1.36 (colored)

Assorted updates and clarifications, grammar fixes and wording improvements,
and so on. Significant highlights:
   - mention src/tests and reference atf;
   - provide examples of MACHINE and MACHINE_ARCH;
   - mention that MKOBJ=no is not recommended;
   - correct the description of the default setting of USETOOLS;
   - document the interactions of build.sh -[uo] with various things;
   - document the interactions of build.sh tools and kernel=FOO;
   - use a lot fewer parentheses.
Discussed on netbsd-docs.

Revision 1.54.4.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:40 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.54: +10 -10 lines
Diff to previous 1.54 (colored) next main 1.55 (colored) to selected 1.36 (colored)

sync with head.

Revision 1.49.4.3 / (download) - annotate - [select for diffs], Sun Mar 23 00:23:07 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.49.4.2: +10 -10 lines
Diff to previous 1.49.4.2 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored) to selected 1.36 (colored)

sync with HEAD

Revision 1.56 / (download) - annotate - [select for diffs], Tue Mar 18 04:24:38 2008 UTC (16 years ago) by lukem
Branch: MAIN
CVS Tags: matt-armv6-nbase, keiichi-mipv6-base
Changes since 1.55: +8 -8 lines
Diff to previous 1.55 (colored) to selected 1.36 (colored)

Consistently document RELEASEDIR/RELEASEMACHINEDIR.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Mar 8 14:48:57 2008 UTC (16 years ago) by reed
Branch: MAIN
Changes since 1.54: +4 -4 lines
Diff to previous 1.54 (colored) to selected 1.36 (colored)

Mention that "build" and "distribution" do not build nor install (to DESTDIR)
a kernel.

Revision 1.49.4.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:29:25 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.49.4.1: +11 -11 lines
Diff to previous 1.49.4.1 (colored) to branchpoint 1.49 (colored) to selected 1.36 (colored)

sync with HEAD

Revision 1.54 / (download) - annotate - [select for diffs], Fri Nov 23 16:19:28 2007 UTC (16 years, 4 months ago) by sborrill
Branch: MAIN
CVS Tags: matt-armv6-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Branch point for: keiichi-mipv6
Changes since 1.53: +11 -11 lines
Diff to previous 1.53 (colored) to selected 1.36 (colored)

Add support for CDBUILDEXTRA which acts like CDEXTRA to add extra items
to the CD-ROM image.
Make CDEXTRA and CDBUILDEXTRA be able to contain lists of files and directories
which are added in turn.
Add support for CDEXTRA_SKIP which contains a list of fnmatch(3) items to
skip during the copy. This is _very_ useful for skipping CVS dirs for example.
CDBUILDEXTRA and CDEXTRA_SKIP are to be used in Makefiles creating the images,
CDEXTRA remains to be used from build.sh.
Update documentation and build.sh help text to show that -C can be used to
specify a list of files and directories rather than just a single dir.

Revision 1.49.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:10:20 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.49: +66 -24 lines
Diff to previous 1.49 (colored) to selected 1.36 (colored)

sync with HEAD

Revision 1.46.2.2.2.1 / (download) - annotate - [select for diffs], Sun Sep 30 20:27:49 2007 UTC (16 years, 6 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.46.2.2: +65 -2 lines
Diff to previous 1.46.2.2 (colored) next main 1.46.2.3 (colored) to selected 1.36 (colored)

Catch up w/ last night's netbsd-4

Revision 1.46.2.3 / (download) - annotate - [select for diffs], Sat Sep 29 11:10:56 2007 UTC (16 years, 6 months ago) by xtraeme
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-1-RELEASE, netbsd-4-0
Changes since 1.46.2.2: +65 -2 lines
Diff to previous 1.46.2.2 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored) to selected 1.36 (colored)

Pull up following revision(s) (requested by jnemeth in ticket #864):
	distrib/common/Makefile.bootcd: revision 1.9
	distrib/common/Makefile.bootcd: revision 1.10
	distrib/common/Makefile.bootcd: revision 1.11
	doc/BUILDING.mdoc: revision 1.51
	doc/BUILDING.mdoc: revision 1.52
	doc/BUILDING.mdoc: revision 1.53
	build.sh: revision 1.172
	build.sh: revision 1.173
	build.sh: revision 1.174
	build.sh: revision 1.175
	BUILDING: revision 1.64
	BUILDING: revision 1.65
	BUILDING: revision 1.66
	share/man/man7/release.7: revision 1.23
	share/man/man7/release.7: revision 1.24
	Makefile: revision 1.248

Add an iso-dir=directory option.  When combined with iso-image or
iso-image-source, it will cause directory to be added to the CD-ROM image.

Convert build.sh iso-dir=directory option to -C cddir as per jmmv@ on
source-changes.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Sep 1 09:32:19 2007 UTC (16 years, 7 months ago) by jnemeth
Branch: MAIN
Changes since 1.52: +16 -15 lines
Diff to previous 1.52 (colored) to selected 1.36 (colored)

Convert build.sh iso-dir=directory option to -C cddir as per jmmv@ on
source-changes.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Sep 1 08:15:27 2007 UTC (16 years, 7 months ago) by jnemeth
Branch: MAIN
Changes since 1.51: +20 -2 lines
Diff to previous 1.51 (colored) to selected 1.36 (colored)

Add an iso-dir=directory option.  When combined with iso-image or
iso-image-source, it will cause directory to be added to the CD-ROM image.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Aug 30 10:29:02 2007 UTC (16 years, 7 months ago) by jnemeth
Branch: MAIN
Changes since 1.50: +46 -2 lines
Diff to previous 1.50 (colored) to selected 1.36 (colored)

describe new iso-image-source target

Revision 1.50 / (download) - annotate - [select for diffs], Thu Aug 30 00:35:11 2007 UTC (16 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.49: +2 -23 lines
Diff to previous 1.49 (colored) to selected 1.36 (colored)

Remove STATUS paragraph which makes it sound like the build system is
half baked.

Revision 1.46.2.2 / (download) - annotate - [select for diffs], Mon Apr 16 19:52:26 2007 UTC (16 years, 11 months ago) by bouyer
Branch: netbsd-4
CVS Tags: netbsd-4-0-RC1
Branch point for: wrstuden-fixsa
Changes since 1.46.2.1: +36 -5 lines
Diff to previous 1.46.2.1 (colored) to branchpoint 1.46 (colored) to selected 1.36 (colored)

Pull up following revision(s) (requested by apb in ticket #573):
	share/man/man8/sysinst.8: revision 1.1
	distrib/sets/lists/man/mi: revision 1.987
	share/man/man8/Makefile: revision 1.89
	BUILDING: revision 1.62
	share/man/man7/release.7: revision 1.22
	doc/BUILDING.mdoc: revision 1.49
Improve documentation for "make iso-image" and release(7),
and add a rudimentary man page for sysinst(8).

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Mon Apr 16 19:46:55 2007 UTC (16 years, 11 months ago) by bouyer
Branch: netbsd-4
Changes since 1.46: +32 -5 lines
Diff to previous 1.46 (colored) to selected 1.36 (colored)

Pull up following revision(s) (requested by apb in ticket #572):
	BUILDING: revision 1.61
	doc/BUILDING.mdoc: revision 1.48
Improve documentation for "make installworld".

Revision 1.49 / (download) - annotate - [select for diffs], Fri Apr 13 19:43:38 2007 UTC (16 years, 11 months ago) by apb
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.48: +36 -5 lines
Diff to previous 1.48 (colored) to selected 1.36 (colored)

Document recent changes to "make iso-image".

Revision 1.48 / (download) - annotate - [select for diffs], Mon Mar 26 17:35:06 2007 UTC (17 years ago) by apb
Branch: MAIN
Changes since 1.47: +32 -5 lines
Diff to previous 1.47 (colored) to selected 1.36 (colored)

Document the fact that "make installworld" and "build.sh
installworld=..." do not install the etc or xetc sets.  Suggest using
etcupdate(8) and postinstall(8) after installworld.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Jan 27 11:47:36 2007 UTC (17 years, 2 months ago) by apb
Branch: MAIN
Changes since 1.46: +11 -10 lines
Diff to previous 1.46 (colored) to selected 1.36 (colored)

Try to clarify the description of build.sh -m mach.
Document new evbarm-eb and evbarm-el aliases.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Oct 8 17:54:30 2006 UTC (17 years, 5 months ago) by apb
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.45: +27 -4 lines
Diff to previous 1.45 (colored) to selected 1.36 (colored)

Clarify that DESTDIR/OBJDIR/etc are absolute paths, but build.sh
-D/-O/etc allows relative paths.

Closes PR 32345 by Andre Luiz de Oliveira.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Oct 4 22:28:24 2006 UTC (17 years, 5 months ago) by apb
Branch: MAIN
Changes since 1.44: +5 -5 lines
Diff to previous 1.44 (colored) to selected 1.36 (colored)

Nitpicking.  You won't see a difference in the text output, but there is
a difference in the postscript output.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Sep 29 19:57:04 2006 UTC (17 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.43: +22 -1 lines
Diff to previous 1.43 (colored) to selected 1.36 (colored)

Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:

* Describe the HOST_SH variable, and the way build.sh attempts to set it.

* Suggest passing HOST_SH in the environment if /bin/sh is not a working
  shell.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jan 29 14:03:59 2006 UTC (18 years, 2 months ago) by apb
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored) to selected 1.36 (colored)

mkisofs is in pkgsrc/sysutils/cdrtools now, not pkgsrc/sysutils/cdrecord.
Reported by Jukka Salmi.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Jan 28 21:34:08 2006 UTC (18 years, 2 months ago) by apb
Branch: MAIN
Changes since 1.41: +20 -2 lines
Diff to previous 1.41 (colored) to selected 1.36 (colored)

* Add an "iso-image" target in the top level Makefile,
  which invokes make iso-image in the etc directory.
* Add an "iso-image" action in build.sh, which
  invokes make iso-image.
* Document the above in doc/BUILDING.mdoc.
* Re-generate BUILDING.

Approved by christos

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jan 12 21:22:30 2006 UTC (18 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) to selected 1.36 (colored)

Bump date for syspkgs.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Jan 4 15:35:20 2006 UTC (18 years, 2 months ago) by apb
Branch: MAIN
Changes since 1.39: +16 -1 lines
Diff to previous 1.39 (colored) to selected 1.36 (colored)

Document "make syspkgs" and "build.sh syspkgs".

Reviewed by agc

Revision 1.39 / (download) - annotate - [select for diffs], Mon Jun 20 13:25:23 2005 UTC (18 years, 9 months ago) by peter
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored) to selected 1.36 (colored)

Change all .Xr config 8 to .Xr config 1, following the recent move of
config from usr.sbin -> usr.bin.

Reviewed by wiz.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Feb 15 18:41:18 2005 UTC (19 years, 1 month ago) by reed
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.37: +10 -1 lines
Diff to previous 1.37 (colored) to selected 1.36 (colored)

Document the environment variables for if you need to override or
manually select your compilers.
(And regen BUILDING from doc/BUILDING.mdoc.)

Revision 1.37 / (download) - annotate - [select for diffs], Tue Oct 12 04:07:09 2004 UTC (19 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.36: +6 -6 lines
Diff to previous 1.36 (colored)

Fix some typo's/bad wording as highlighted in PR#27219

Revision 1.36 / (download) - annotate - [selected], Fri Jun 25 15:04:02 2004 UTC (19 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.35: +4 -3 lines
Diff to previous 1.35 (colored)

Document -h. From Karsten Kruse in PR 25974.
While here, remove a duplicate sentence.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Mar 19 12:34:40 2004 UTC (20 years ago) by wiz
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.34: +10 -1 lines
Diff to previous 1.34 (colored) to selected 1.36 (colored)

Document MKTTINTERP.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Feb 6 23:22:44 2004 UTC (20 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.33: +34 -17 lines
Diff to previous 1.33 (colored) to selected 1.36 (colored)

* Document build.sh -X and -x
* Document MKX11 and X11SRCDIR
* Remove note warning against cross-building from systems other than NetBSD;
  it works on many other platforms.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Dec 29 07:10:24 2003 UTC (20 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.32: +3 -1 lines
Diff to previous 1.32 (colored) to selected 1.36 (colored)

Note tools/compat/README as the place to get notes from non-native cross builds

Revision 1.32 / (download) - annotate - [select for diffs], Fri Dec 19 12:06:45 2003 UTC (20 years, 3 months ago) by zuntum
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored) to selected 1.36 (colored)

Change -v to -V in the following section:

	"Print make(1)'s idea of the value of var.  Does not build any targets."

To reflect reality.

Found by Tomasz Marciniak <Tomasz.Marciniak@felix.fizyka.amu.edu.pl>, thanks!

Revision 1.31 / (download) - annotate - [select for diffs], Sun Oct 26 02:17:46 2003 UTC (20 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.30: +5 -14 lines
Diff to previous 1.30 (colored) to selected 1.36 (colored)

Improve how build.sh -N and MAKEVERBOSE interoperate;
rather than adding '-s' to make's command line in the makewrapper,
use the .SILENT target based on MAKEVERBOSE's value.

This means that you can do:
	./build.sh -N 1 makewrapper

	$TOOLDIR/bin/nbmake-$MACHINE
	#  runs at MAKEVERBOSE==1, with command lines suppressed

	$TOOLDIR/bin/nbmake-$MACHINE MAKEVERBOSE=2
	#  runs at MAKEVERBOSE==2 for this invocation, with command lines shown

Revision 1.30 / (download) - annotate - [select for diffs], Sat Oct 25 03:46:09 2003 UTC (20 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.29: +35 -2 lines
Diff to previous 1.29 (colored) to selected 1.36 (colored)

Implement build -N noisy, which sets MAKEVERBOSE to noisy and adds
`-s' to MAKEFLAGS for noisy < 2.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Sep 29 07:55:17 2003 UTC (20 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored) to selected 1.36 (colored)

provide a `%' for the non-root examples, as we show `#' for the root prompt.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Aug 8 01:52:24 2003 UTC (20 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored) to selected 1.36 (colored)

fix description of MAKEOBJDIR.  from Martin Husemann

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jul 29 10:07:16 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.26: +31 -8 lines
Diff to previous 1.26 (colored) to selected 1.36 (colored)

Add build.sh -Z var, to unset a variable and ensure it's unset in makewrapper.
For -M MAKEOBJDIRPREFIX, unset MAKEOBJDIR.
For -O MAKEOBJDIR, unset MAKEOBJDIRPREFIX.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jul 18 16:30:48 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored) to selected 1.36 (colored)

fix default location of TOOLDIR

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jul 18 08:38:45 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.24: +43 -40 lines
Diff to previous 1.24 (colored) to selected 1.36 (colored)

Update for the MKUNPRIVED/MKUPDATE changes.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jul 18 01:55:08 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored) to selected 1.36 (colored)

fix warning found by new groff

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jul 3 05:52:48 2003 UTC (20 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.22: +10 -4 lines
Diff to previous 1.22 (colored) to selected 1.36 (colored)

attempt to clarify how MAKEOBJDIR{,PREFIX} may be provided ...
(this document needs a rototill, which i may get to whilst writing a
paper about build.sh)

Revision 1.22 / (download) - annotate - [select for diffs], Sun May 25 12:34:28 2003 UTC (20 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.21: +26 -9 lines
Diff to previous 1.21 (colored) to selected 1.36 (colored)

all:
    *	add "releasekernel=conf", to install a gzipped copy of the kernels
	built by "kernel=conf" to RELEASEDIR/MACHINE/binary/kernel

build.sh:
    *	be more consistent in various status messages
    *	move the {release,}kernel=conf conf parsing code into getkernelconf()
	and use in both buildkernel() and releasekernel()
    *	only warn once when building multiple kernels without updating the tools

Revision 1.21 / (download) - annotate - [select for diffs], Sun May 18 11:18:02 2003 UTC (20 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.20: +6 -3 lines
Diff to previous 1.20 (colored) to selected 1.36 (colored)

For normal builds, MKOBJDIRS default to `no' (not `yes').
It's only build.sh that sets this to `yes' by default.
Noted by OGAWA Takaya in [toolchain/19823]

Revision 1.20 / (download) - annotate - [select for diffs], Sat May 17 08:10:39 2003 UTC (20 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.19: +27 -3 lines
Diff to previous 1.19 (colored) to selected 1.36 (colored)

improve description of how "build.sh -m mach" sets the default
MACHINE_ARCH, and list the special cases that this does not occur for.

Revision 1.19 / (download) - annotate - [select for diffs], Sat May 10 07:15:52 2003 UTC (20 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored) to selected 1.36 (colored)

crank date for previous

Revision 1.18 / (download) - annotate - [select for diffs], Sat May 10 07:12:39 2003 UTC (20 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.17: +10 -1 lines
Diff to previous 1.17 (colored) to selected 1.36 (colored)

Add "sourcesets" argument/target, which builds source sets into
RELEASEDIR/source/sets

Revision 1.17 / (download) - annotate - [select for diffs], Thu May 8 14:42:06 2003 UTC (20 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.16: +38 -10 lines
Diff to previous 1.16 (colored) to selected 1.36 (colored)

build.sh now provides defaults for DESTDIR and RELEASEDIR if not expert mode.
Remove -D and -R from EXAMPLES since they're not necessary any more.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Feb 8 10:00:34 2003 UTC (21 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.15: +7 -8 lines
Diff to previous 1.15 (colored) to selected 1.36 (colored)

Fix example 3; the build.sh target is "install" not "installworld".
Improve description.
Noted by Valeriy Ushakov (uwe@) in private email.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Feb 2 12:37:42 2003 UTC (21 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.14: +29 -11 lines
Diff to previous 1.14 (colored) to selected 1.36 (colored)

attempt to further improve and clarify the examples...

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jan 30 02:52:40 2003 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.13: +21 -21 lines
Diff to previous 1.13 (colored) to selected 1.36 (colored)

Prefix various paths with 'DESTDIR', to highlight that the DESTDIR
is taken into account.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jan 29 22:50:10 2003 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.12: +12 -10 lines
Diff to previous 1.12 (colored) to selected 1.36 (colored)

allow toolprefix to be easily changed

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jan 26 13:15:17 2003 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.11: +23 -21 lines
Diff to previous 1.11 (colored) to selected 1.36 (colored)

Various improvements per discussion with Alan Barrett.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jan 26 06:19:14 2003 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.10: +17 -2 lines
Diff to previous 1.10 (colored) to selected 1.36 (colored)

- Add "sets" top-level Makefile target and build.sh operation.
	[Latter suggested by Julio Merino in private email]
- Add "help" build.sh operation.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jan 26 05:34:32 2003 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.9: +28 -25 lines
Diff to previous 1.9 (colored) to selected 1.36 (colored)

Change build.sh so that at least one operation is required.
Add "makewrapper" operation to build.sh.
	[The above changes were suggested by Alan Barrett on current-users@]

Fail if building as non-root unless: UNPRIVED is set, -U is given, or -E
(expert mode) is given.
	[Suggested by James Wetterau in private email]

Improve the examples in BUILDING.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jan 23 16:24:08 2003 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.8: +112 -91 lines
Diff to previous 1.8 (colored) to selected 1.36 (colored)

Rework how build.sh functions, so that command line options set various
parameters, and a list of "operations" defines what to do.
The full usage is show below.  Notes:
	`-b' has been deprecated (it always occurs now)
	`-d' is replaced by "distribution"
	`-R rel' onlys sets RELEASEDIR; use "release" to build a release
	`-k kern' has been replaced by "kernel=kern"
	`-i idir' has been replaced by "install=idir"
	-r now occurs before nbmake is rebuilt

Add a copyright (long due!).  Rework the code to (a KNF inspired) ShellNF.
Use functions appropriately.  Allow `nb' prefix to be easily changed to
something else.  Solve world peace (just kidding)

This is part of the (never achievable) goal of attempting to make
NetBSD easier to build...


  --8<--  new usage follows  --8<--

Usage: build.sh [-EnorUu] [-a arch] [-B buildid] [-D dest] [-j njob] [-M obj]
		[-m mach] [-O obj] [-R release] [-T tools] [-V var=[value]]
		[-w wrapper]   [operation [...] ]

 System build operations (all imply "obj" and "tools"):
    build		Run "make build"
    distribution	Run "make distribution" (includes etc/ files)
    release		Run "make release" (includes kernels & distrib media)

 Other operations:
    obj			Run "make obj" (default unless -o)
    tools 		Build and install tools
    kernel=conf		Build kernel with config file `conf'
    install=idir	Run "make installworld" to `idir'
			(useful after 'distribution' or 'release')

 Options:
    -a arch	Set MACHINE_ARCH to arch (otherwise deduced from MACHINE)
    -B buildId	Set BUILDID to buildId
    -D dest	Set DESTDIR to dest
    -E		Set "expert" mode; disables some DESTDIR checks
    -j njob	Run up to njob jobs in parallel; see make(1)
    -M obj	Set obj root directory to obj (sets MAKEOBJDIRPREFIX)
    -m mach	Set MACHINE to mach (not required if NetBSD native)
    -n		Show commands that would be executed, but do not execute them
    -O obj	Set obj root directory to obj (sets a MAKEOBJDIR pattern)
    -o		Set MKOBJDIRS=no (do not create objdirs at start of build)
    -R release	Set RELEASEDIR to release
    -r		Remove contents of TOOLDIR and DESTDIR before building
    -T tools	Set TOOLDIR to tools.  If unset, and TOOLDIR is not set in
		the environment, nbmake will be (re)built unconditionally.
    -U		Set UNPRIVED
    -u		Set UPDATE
    -V v=[val]	Set variable `v' to `val'
    -w wrapper	Create nbmake script as wrapper
		(default: ${TOOLDIR}/bin/nbmake-${MACHINE})

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jan 4 12:55:33 2003 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.7: +19 -2 lines
Diff to previous 1.7 (colored) to selected 1.36 (colored)

Add "-V var=[value]", for setting arbitrary variables which will also
be added to the nbmake-${MACHINE} wrapper.
Useful for setting RELEASEDIR, without -R's habit of building a release.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Dec 25 00:58:01 2002 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.6: +48 -4 lines
Diff to previous 1.6 (colored) to selected 1.36 (colored)

Document:
    *	build.sh -i idir
    *	top level targets:   distribution, buildworld, installworld
    *	top level variables: INSTALLWORLDDIR

Revision 1.6 / (download) - annotate - [select for diffs], Wed Dec 18 19:46:48 2002 UTC (21 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.5: +89 -62 lines
Diff to previous 1.5 (colored) to selected 1.36 (colored)

New sentence, new line; use Pa for paths.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Dec 8 22:14:02 2002 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.4: +8 -1 lines
Diff to previous 1.4 (colored) to selected 1.36 (colored)

Add -E - "expert mode".  If this is not specified, builds to DESTDIR=/ are
not permitted.
By using this flag, you are taking responsibility for any issues that
may occur because of this...

Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 8 08:42:52 2002 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.3: +87 -87 lines
Diff to previous 1.3 (colored) to selected 1.36 (colored)

- be consistent about option ordering in build.sh usage display
- use Fl and Ar instead of Sy and Em to format options

Revision 1.3 / (download) - annotate - [select for diffs], Mon Nov 25 19:18:45 2002 UTC (21 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.36 (colored)

Update location of BUILDING.mdoc.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Oct 20 15:48:02 2002 UTC (21 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.1: +58 -2 lines
Diff to previous 1.1 (colored) to selected 1.36 (colored)

- Add support for ./build.sh -k kern, which configures and builds the named
  kernel using the $TOOLDIR toolchain.  If kern doesn't contain `/', it will
  be searched for in ${KERNCONFDIR} (typically, sys/arch/${MACHINE}/conf).
- Improve ./build.sh usage.
- Add some examples to the documentation.

This is heavily based on [toolchain/18739] from Alan Barrett <apb@cequrux.com>,
with improvements by me.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Sep 21 08:19:29 2002 UTC (21 years, 6 months ago) by lukem
Branch: MAIN
Diff to selected 1.36 (colored)

move BUILDING.mdoc -> doc/BUILDING.mdoc

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>