Commit Graph

126 Commits

Author SHA1 Message Date
leot 666793fa92 Fix a typo
Reported by Tobias Ulmer via netbsd-docs@ ML, thanks!
2019-05-08 14:03:57 +00:00
sevan 5b00e77546 Spelling mistake.
Reword MKINFO description.
2018-07-29 20:53:29 +00:00
leot 33444c8142 Fix a typo.
Pointed out by aalm in #NetBSD@Freenode.
2018-02-16 10:05:01 +00:00
sevan 916ec1d70b While SH3 is no longer an exception, m68000 still is. 2017-12-29 03:04:56 +00:00
sevan 2b6d2cc844 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.
2017-10-21 22:03:01 +00:00
sevan 5442206198 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.
2017-10-21 21:16:07 +00:00
riastradh ef315f7931 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.
2017-05-21 15:28:36 +00:00
plunky a95eaab00e state correct location for install-image (RELEASEDIR/images) 2017-04-22 07:48:19 +00:00
wiz ff6c2ab51c Use Fl and Xr. New sentence, new line. 2017-04-20 09:47:41 +00:00
ozaki-r 1300188462 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
2017-04-20 09:29:10 +00:00
christos 958d1f77d5 document -P 2017-02-20 20:56:30 +00:00
wiz 630110fe35 Document MKREPRO_TIMESTAMP. 2016-01-29 13:51:13 +00:00
mrg cf4dd8937a 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.)
2015-07-23 08:03:24 +00:00
pgoyette c09d6082f2 Update location of live-images to reflect changes made in rev 1.398 of
src/etc/Makefile
2015-06-07 05:30:18 +00:00
wiz ac59b1c330 Update Xorg defaults description. From Joachim Henke on netbsd-docs. 2015-04-08 05:47:43 +00:00
riastradh 53428a0862 Use `It Sy', not just `It', for live-image, to match other targets.
No change to plain-text BUILDING file.
2015-01-08 23:59:26 +00:00
uebayasi 0a333665fa 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).
2014-11-30 15:53:29 +00:00
uebayasi 25506fcda3 Document build.sh mkernels. 2014-11-16 06:10:31 +00:00
uebayasi 214195889d Document mkernel=*. 2014-11-16 05:44:57 +00:00
apb d1f4f392c7 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.)
- - - -
2014-11-13 08:25:31 +00:00
uebayasi 0fbbfea2a4 Document the "kernels" operation. 2014-11-06 06:41:23 +00:00
snj 05549fced9 sync with reality: iso -> images 2014-11-05 08:15:04 +00:00
apb c170baae9a 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.
2014-08-07 21:45:27 +00:00
apb a960e5c872 Document build.sh list-arch 2014-08-07 21:32:11 +00:00
apb f4b0cac682 Bump date for previous 2014-08-03 09:25:02 +00:00
apb b2a466780b BUILDINFO part 5: Document BUILDINFO in doc/BUILDING.mdoc. 2014-08-03 09:24:08 +00:00
apb 38373b3db6 Improve documentation for BUILDID. 2014-06-14 12:20:17 +00:00
wiz 0a35378dc9 Use Pa for paths. Fix a couple of typos. 2014-05-21 13:11:25 +00:00
martin 545afccdc2 Document MKCROSSGDB, MKKDEBUG and build.sh kernel.gdb= 2014-05-19 10:12:19 +00:00
martin d6af3a0abf Document MKDEBUG and MKDEBUGLIB 2014-05-19 09:56:17 +00:00
martin 8800a5ed8e Document external directories 2014-05-19 09:49:07 +00:00
uwe 49b378ef18 Add missing Ar 2013-12-24 20:10:29 +00:00
wiz efd3bc66c4 - Bump date (for r1.93);
- remove superfluous macros (fixes mandoc(1) warnings).

From Bug Hunting.
2013-05-29 14:45:55 +00:00
dholland 43c1d01a08 MKCATPAGES defaults to no these days; noted on netbsd-docs by Luc van
der Veen.
2012-11-08 15:24:40 +00:00
abs 5b8d7483de Adjust postinstall recommendation syntax. based on comment from Snader_LB on IRC 2012-09-19 23:31:36 +00:00
abs 0d98e4a0de strip trailing whitespace 2012-09-19 23:08:37 +00:00
abs 62356763f1 Fix inverted logic description for MKSTRIPIDENT.
Noted by Snader_LB on freenode IRC
2012-09-19 23:06:22 +00:00
wiz 86c4a86ab5 Document MKREPRO using joerg's wording. 2012-05-25 10:47:25 +00:00
tsutsui f06b8cb50a Add a missing period. 2012-02-23 13:34:15 +00:00
apb 3388131ab9 Minor changes to wording in the documentation for
build.sh install-image and live-image.
2012-02-14 21:32:07 +00:00
apb b753e6a507 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.
2012-02-14 21:19:19 +00:00
apb 37b9b22e26 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.
2011-09-09 18:48:34 +00:00
apb 5f70d1f98e 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.
2011-09-09 14:23:37 +00:00
apb 94bddc04db 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.93
date: 2011/08/06 19:52:49;  author: jnemeth;  state: Exp;  lines: +5 -0
Add description of MKKMOD, part of PR misc/45216
----------------------------
revision 1.92
date: 2011/01/29 16:56:26;  author: jym;  state: Exp;  lines: +6 -4
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.
----------------------------
2011-09-09 14:01:28 +00:00
apb a4d065775d 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.
2011-09-09 13:29:23 +00:00
mrg a20af8d9db remove the MKSUBPIXEL/MKTTINTERP options; they're going away.
regenerate.
2010-07-25 07:19:00 +00:00
apb 87272391e8 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
2009-10-10 19:05:28 +00:00
cegger d08f5c154a backout wrong changes after I got teached that the vowel *sound* matters
and not the spelling letter (which is what I learned at school).
2009-10-02 07:43:01 +00:00
cegger bdf8a0a549 fix grammar: a -> an 2009-10-02 07:17:16 +00:00
apb 828252228e * 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.
2009-09-27 18:08:24 +00:00