Commit Graph

134 Commits

Author SHA1 Message Date
sevan a95a2d429a regen 2018-07-29 20:53:41 +00:00
pgoyette f1de59e03f Re-add files that were accidentally deleted in my previous commit. 2018-05-02 07:34:44 +00:00
pgoyette 653cac4418 Synch with HEAD 2018-05-02 07:19:58 +00:00
leot ca9fe044f4 regen 2018-02-16 10:05:22 +00:00
sevan 18e05635b2 regen 2017-12-29 03:05:13 +00:00
sevan 0531f48056 regen 2017-10-21 23:49:28 +00:00
riastradh a444759d5c regen 2017-05-21 15:30:20 +00:00
plunky dfb2e3d51f regen 2017-04-22 07:48:33 +00:00
wiz c8a170c44c regen using regen target in doc. 2017-04-20 09:47:52 +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 15df1d3d0e regen 2017-02-20 21:28:48 +00:00
rin aaf544539d The default values for MKPIC are yes and no for sh3 and m68000, respectively.
Bump date.
2017-02-16 17:15:26 +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 a2c252cf10 Update to reflect changes made in rev 1.398 of src/etc/Makefile 2015-06-07 05:32:38 +00:00
wiz 28264afcdd regen 2015-04-08 05:48:24 +00:00
uebayasi ef544d4ebb regen 2014-11-30 15:54:34 +00:00
uebayasi e049ec87a3 regen 2014-11-16 06:10:55 +00:00
uebayasi 4595288418 regen 2014-11-16 05:45:43 +00:00
apb 7fa35347f7 regen from doc/BUILDING.mdoc revision 1.107.
This reinstates documentation for "extsrc" which was lost in 2009.
2014-11-13 08:42:35 +00:00
snj 1ead4f1a39 fourth time's the charm, i guess. when committing a generated file,
it's best to use the latest revision of the source file (hi uebs!)

regen to include changes from revision 1.105 of doc/BUILDING.mdoc
2014-11-08 04:23:00 +00:00
uebayasi 3bf26c7470 regen 2014-11-06 06:42:25 +00:00
uebayasi 349ae6995d Expand TABs. 2014-11-06 03:50:13 +00:00
uebayasi 0284960983 Document the new "kernels" operation, prompted by joerg@. 2014-11-06 03:34:11 +00:00
snj 403559c163 regen 2014-11-05 08:16:33 +00:00
apb 8c73ed278b regen BUILDING from doc/BUILDING.mdoc 2014-08-07 21:46:43 +00:00
apb 9b208c7a55 BUILDINFO part6: regen BUILDING from doc/BUILDING.mdoc 2014-08-03 09:28:43 +00:00
apb 62417ee794 Regen from doc/BUILDING.mdoc;1.100:
Improve documentation for BUILDID.
2014-06-14 12:21:41 +00:00
wiz b2b90ae3db regen 2014-05-21 13:12:19 +00:00
wiz 8bc43ad27d regen using 'make regen' from src/doc. 2013-05-29 21:59:51 +00:00
wiz 3c2cbb85ca regen (using mandoc doc/BUILDING.mdoc > BUILDING -- let me know
if a different way is preferred, I see that it now contains formatting).
2013-05-29 14:47:22 +00:00
dholland c006430089 regen 2012-11-08 15:25:01 +00:00
abs d9fad0ab37 regen 2012-09-19 23:40:03 +00:00
wiz d80e1a05be regen using 'make regen' in doc/ 2012-05-25 13:47:30 +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 f3ca6c9571 Regen from revision 1.87 of doc/BUILDING.mdoc. 2012-02-14 21:33:02 +00:00
tsutsui 3cf69f27e2 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-01-22 03:53:29 +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 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
jnemeth 1539965555 Add description of MKKMOD, part of PR misc/45216 2011-08-06 19:52:49 +00:00
jym 4bd25a927a 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-01-29 16:56:26 +00:00
mrg a20af8d9db remove the MKSUBPIXEL/MKTTINTERP options; they're going away.
regenerate.
2010-07-25 07:19:00 +00:00
uebayasi d166c4bf28 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.)
2009-11-30 16:13:22 +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
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
apb f1ead22021 Allow build.sh "-C cdextra" option to be specified multiple times. 2009-09-27 17:28:38 +00:00
jnemeth d57c8fa8c6 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@.
2009-09-07 04:14:17 +00:00
hubertf ef944a027b regen 2009-07-12 14:17:18 +00:00