The NetBSD Project

CVS log for src/BUILDING

[BACK] Up to [cvs.netbsd.org] / src

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.71 / (download) - annotate - [select for diffs], Sat Mar 29 05:22:42 2008 UTC (6 weeks, 1 day ago) by dholland
Branch: MAIN
CVS Tags: yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base, wrstuden-revivesa, keiichi-mipv6-nbase, HEAD
Changes since 1.70: +4 -1 lines
Diff to previous 1.70 (colored)

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

Revision 1.70 / (download) - annotate - [select for diffs], Fri Mar 28 05:23:44 2008 UTC (6 weeks, 2 days ago) by dholland
Branch: MAIN
Changes since 1.69: +71 -46 lines
Diff to previous 1.69 (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.67.4.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:28 2008 UTC (6 weeks, 6 days ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.67: +27 -25 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

sync with head.

Revision 1.62.4.3 / (download) - annotate - [select for diffs], Sun Mar 23 00:12:06 2008 UTC (7 weeks, 1 day ago) by matt
Branch: matt-armv6
Changes since 1.62.4.2: +27 -25 lines
Diff to previous 1.62.4.2 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

sync with HEAD

Revision 1.69 / (download) - annotate - [select for diffs], Tue Mar 18 04:24:38 2008 UTC (7 weeks, 5 days ago) by lukem
Branch: MAIN
CVS Tags: matt-armv6-nbase, keiichi-mipv6-base
Changes since 1.68: +21 -20 lines
Diff to previous 1.68 (colored)

Consistently document RELEASEDIR/RELEASEMACHINEDIR.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Mar 8 14:48:57 2008 UTC (2 months ago) by reed
Branch: MAIN
Changes since 1.67: +7 -6 lines
Diff to previous 1.67 (colored)

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

Revision 1.62.4.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:19:18 2008 UTC (4 months ago) by matt
Branch: matt-armv6
Changes since 1.62.4.1: +9 -6 lines
Diff to previous 1.62.4.1 (colored) to branchpoint 1.62 (colored)

sync with HEAD

Revision 1.67 / (download) - annotate - [select for diffs], Fri Nov 23 16:19:28 2007 UTC (5 months, 2 weeks ago) by sborrill
Branch: MAIN
CVS Tags: matt-armv6-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Branch point for: keiichi-mipv6
Changes since 1.66: +9 -6 lines
Diff to previous 1.66 (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.62.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:07:09 2007 UTC (6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.62: +38 -16 lines
Diff to previous 1.62 (colored)

sync with HEAD

Revision 1.59.2.2.2.1 / (download) - annotate - [select for diffs], Sun Sep 30 20:27:36 2007 UTC (7 months, 1 week ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.59.2.2: +38 -1 lines
Diff to previous 1.59.2.2 (colored) next main 1.59.2.3 (colored)

Catch up w/ last night's netbsd-4

Revision 1.59.2.3 / (download) - annotate - [select for diffs], Sat Sep 29 11:10:56 2007 UTC (7 months, 1 week ago) by xtraeme
Branch: netbsd-4
CVS Tags: 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
Changes since 1.59.2.2: +38 -1 lines
Diff to previous 1.59.2.2 (colored) to branchpoint 1.59 (colored) next main 1.60 (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.66 / (download) - annotate - [select for diffs], Sat Sep 1 09:32:19 2007 UTC (8 months, 1 week ago) by jnemeth
Branch: MAIN
Changes since 1.65: +6 -6 lines
Diff to previous 1.65 (colored)

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

Revision 1.65 / (download) - annotate - [select for diffs], Sat Sep 1 08:15:27 2007 UTC (8 months, 1 week ago) by jnemeth
Branch: MAIN
Changes since 1.64: +10 -1 lines
Diff to previous 1.64 (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.64 / (download) - annotate - [select for diffs], Thu Aug 30 10:29:02 2007 UTC (8 months, 1 week ago) by jnemeth
Branch: MAIN
Changes since 1.63: +29 -1 lines
Diff to previous 1.63 (colored)

describe new iso-image-source target

Revision 1.63 / (download) - annotate - [select for diffs], Thu Aug 30 00:35:11 2007 UTC (8 months, 1 week ago) by ad
Branch: MAIN
Changes since 1.62: +0 -15 lines
Diff to previous 1.62 (colored)

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

Revision 1.59.2.2 / (download) - annotate - [select for diffs], Mon Apr 16 19:52:26 2007 UTC (12 months, 3 weeks ago) by bouyer
Branch: netbsd-4
CVS Tags: netbsd-4-0-RC1
Branch point for: wrstuden-fixsa
Changes since 1.59.2.1: +26 -8 lines
Diff to previous 1.59.2.1 (colored) to branchpoint 1.59 (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.59.2.1 / (download) - annotate - [select for diffs], Mon Apr 16 19:46:55 2007 UTC (12 months, 3 weeks ago) by bouyer
Branch: netbsd-4
Changes since 1.59: +17 -5 lines
Diff to previous 1.59 (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.62 / (download) - annotate - [select for diffs], Fri Apr 13 19:43:38 2007 UTC (12 months, 4 weeks ago) by apb
Branch: MAIN
CVS Tags: matt-mips64-base, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.61: +26 -8 lines
Diff to previous 1.61 (colored)

Document recent changes to "make iso-image".

Revision 1.61 / (download) - annotate - [select for diffs], Mon Mar 26 17:35:06 2007 UTC (13 months, 2 weeks ago) by apb
Branch: MAIN
Changes since 1.60: +17 -5 lines
Diff to previous 1.60 (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.60 / (download) - annotate - [select for diffs], Sat Jan 27 11:47:36 2007 UTC (15 months, 2 weeks ago) by apb
Branch: MAIN
Changes since 1.59: +13 -10 lines
Diff to previous 1.59 (colored)

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

Revision 1.59 / (download) - annotate - [select for diffs], Sun Oct 8 17:54:30 2006 UTC (19 months ago) by apb
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.58: +48 -31 lines
Diff to previous 1.58 (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.58 / (download) - annotate - [select for diffs], Fri Sep 29 19:57:04 2006 UTC (19 months, 1 week ago) by apb
Branch: MAIN
Changes since 1.57: +12 -0 lines
Diff to previous 1.57 (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.57 / (download) - annotate - [select for diffs], Sun Jan 29 14:03:59 2006 UTC (2 years, 3 months ago) by apb
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

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

Revision 1.56 / (download) - annotate - [select for diffs], Sat Jan 28 21:34:08 2006 UTC (2 years, 3 months ago) by apb
Branch: MAIN
Changes since 1.55: +10 -1 lines
Diff to previous 1.55 (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.55 / (download) - annotate - [select for diffs], Thu Jan 12 21:22:30 2006 UTC (2 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54 (colored)

Bump date for syspkgs.

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

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

Reviewed by agc

Revision 1.53 / (download) - annotate - [select for diffs], Tue Feb 15 18:41:18 2005 UTC (3 years, 2 months 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.52: +6 -1 lines
Diff to previous 1.52 (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.52 / (download) - annotate - [select for diffs], Tue Oct 12 04:07:09 2004 UTC (3 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.51: +10 -10 lines
Diff to previous 1.51 (colored)

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

Revision 1.51 / (download) - annotate - [select for diffs], Fri Jun 25 15:04:20 2004 UTC (3 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.50: +4 -3 lines
Diff to previous 1.50 (colored)

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

Revision 1.50 / (download) - annotate - [select for diffs], Fri Mar 19 12:34:39 2004 UTC (4 years, 1 month 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.49: +6 -0 lines
Diff to previous 1.49 (colored)

Document MKTTINTERP.

Revision 1.49 / (download) - annotate - [select for diffs], Fri Feb 6 23:22:44 2004 UTC (4 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.48: +22 -9 lines
Diff to previous 1.48 (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.48 / (download) - annotate - [select for diffs], Mon Dec 29 07:10:24 2003 UTC (4 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.47: +4 -0 lines
Diff to previous 1.47 (colored)

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

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Wed Dec 24 04:52:17 2003 UTC (4 years, 4 months ago) by jmc
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002
Changes since 1.12.2.1: +2 -2 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Pullup via hand patch (requested by zuntum in ticket #1582)
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.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Dec 19 12:06:45 2003 UTC (4 years, 4 months ago) by zuntum
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (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.12.2.1 / (download) - annotate - [select for diffs], Thu Dec 18 08:25:06 2003 UTC (4 years, 4 months ago) by tron
Branch: netbsd-1-6
Changes since 1.12: +28 -1 lines
Diff to previous 1.12 (colored)

Regen.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Oct 26 02:17:46 2003 UTC (4 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.45: +2 -8 lines
Diff to previous 1.45 (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.45 / (download) - annotate - [select for diffs], Sat Oct 25 03:46:09 2003 UTC (4 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.44: +23 -1 lines
Diff to previous 1.44 (colored)

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

Revision 1.44 / (download) - annotate - [select for diffs], Mon Sep 29 07:58:01 2003 UTC (4 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.43: +49 -49 lines
Diff to previous 1.43 (colored)

regenerate for "%" prompt update

Revision 1.43 / (download) - annotate - [select for diffs], Tue Aug 19 12:53:30 2003 UTC (4 years, 8 months ago) by martti
Branch: MAIN
Changes since 1.42: +1 -1 lines
Diff to previous 1.42 (colored)

Backout the previous commit

Revision 1.42 / (download) - annotate - [select for diffs], Tue Aug 19 10:00:29 2003 UTC (4 years, 8 months ago) by martti
Branch: MAIN
Changes since 1.41: +1 -1 lines
Diff to previous 1.41 (colored)

Remove # from the example.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Aug 8 01:52:24 2003 UTC (4 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

fix description of MAKEOBJDIR.  from Martin Husemann

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jul 29 10:07:15 2003 UTC (4 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.39: +12 -4 lines
Diff to previous 1.39 (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.39 / (download) - annotate - [select for diffs], Fri Jul 18 16:30:49 2003 UTC (4 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.38: +1 -1 lines
Diff to previous 1.38 (colored)

fix default location of TOOLDIR

Revision 1.38 / (download) - annotate - [select for diffs], Fri Jul 18 08:38:10 2003 UTC (4 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.37: +34 -30 lines
Diff to previous 1.37 (colored)

Update for the MKUNPRIVED/MKUPDATE changes.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jul 18 02:19:55 2003 UTC (4 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.36: +3 -4 lines
Diff to previous 1.36 (colored)

rebuild with new groff

Revision 1.36 / (download) - annotate - [select for diffs], Thu Jul 3 05:52:47 2003 UTC (4 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.35: +5 -3 lines
Diff to previous 1.35 (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.35 / (download) - annotate - [select for diffs], Sun May 25 12:34:28 2003 UTC (4 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.34: +9 -3 lines
Diff to previous 1.34 (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.34 / (download) - annotate - [select for diffs], Sun May 18 11:18:02 2003 UTC (4 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.33: +5 -3 lines
Diff to previous 1.33 (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.33 / (download) - annotate - [select for diffs], Sat May 17 08:10:40 2003 UTC (4 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.32: +20 -4 lines
Diff to previous 1.32 (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.32 / (download) - annotate - [select for diffs], Sat May 10 07:15:53 2003 UTC (5 years ago) by lukem
Branch: MAIN
Changes since 1.31: +1 -1 lines
Diff to previous 1.31 (colored)

crank date for previous

Revision 1.31 / (download) - annotate - [select for diffs], Sat May 10 07:12:37 2003 UTC (5 years ago) by lukem
Branch: MAIN
Changes since 1.30: +5 -0 lines
Diff to previous 1.30 (colored)

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

Revision 1.30 / (download) - annotate - [select for diffs], Thu May 8 14:42:05 2003 UTC (5 years ago) by lukem
Branch: MAIN
Changes since 1.29: +19 -12 lines
Diff to previous 1.29 (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.29 / (download) - annotate - [select for diffs], Sat Feb 8 10:00:33 2003 UTC (5 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.28: +6 -6 lines
Diff to previous 1.28 (colored)

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

Revision 1.28 / (download) - annotate - [select for diffs], Sun Feb 2 12:37:41 2003 UTC (5 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.27: +26 -20 lines
Diff to previous 1.27 (colored)

attempt to further improve and clarify the examples...

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jan 30 02:52:41 2003 UTC (5 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.26: +21 -21 lines
Diff to previous 1.26 (colored)

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

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jan 29 22:50:08 2003 UTC (5 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25 (colored)

allow toolprefix to be easily changed

Revision 1.25 / (download) - annotate - [select for diffs], Sun Jan 26 13:15:18 2003 UTC (5 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.24: +18 -18 lines
Diff to previous 1.24 (colored)

Various improvements per discussion with Alan Barrett.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jan 26 06:19:13 2003 UTC (5 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.23: +7 -0 lines
Diff to previous 1.23 (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.23 / (download) - annotate - [select for diffs], Sun Jan 26 05:34:32 2003 UTC (5 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.22: +23 -27 lines
Diff to previous 1.22 (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.22 / (download) - annotate - [select for diffs], Thu Jan 23 16:24:08 2003 UTC (5 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.21: +55 -47 lines
Diff to previous 1.21 (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.21 / (download) - annotate - [select for diffs], Sat Jan 4 12:55:32 2003 UTC (5 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.20: +6 -1 lines
Diff to previous 1.20 (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.20 / (download) - annotate - [select for diffs], Wed Dec 25 00:58:00 2002 UTC (5 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: fvdl_fs64_base, fvdl_fs64
Changes since 1.19: +66 -42 lines
Diff to previous 1.19 (colored)

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

Revision 1.19 / (download) - annotate - [select for diffs], Sun Dec 8 22:14:01 2002 UTC (5 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.18: +3 -0 lines
Diff to previous 1.18 (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.18 / (download) - annotate - [select for diffs], Sun Dec 8 08:42:51 2002 UTC (5 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.17: +20 -20 lines
Diff to previous 1.17 (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.17 / (download) - annotate - [select for diffs], Mon Nov 25 19:18:44 2002 UTC (5 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

Update location of BUILDING.mdoc.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Oct 20 15:48:40 2002 UTC (5 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.15: +38 -1 lines
Diff to previous 1.15 (colored)

regen for build.sh -k

Revision 1.15 / (download) - annotate - [select for diffs], Sat Sep 21 05:26:42 2002 UTC (5 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.14: +10 -6 lines
Diff to previous 1.14 (colored)

regen for: USE_NEW_TOOLCHAIN was replaced with TOOLCHAIN_MISSING

Revision 1.14 / (download) - annotate - [select for diffs], Tue Sep 17 16:35:39 2002 UTC (5 years, 7 months ago) by fredb
Branch: MAIN
Changes since 1.13: +7 -4 lines
Diff to previous 1.13 (colored)

Expand on the difference between ``build.sh -d'' and ``make install'',
as requested by Brian Stark in PR toolchain/18228 (which this closes).

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jul 22 09:49:05 2002 UTC (5 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 (colored)

Remove duplicate 'files'. From Ryo HAYASAKA in toolchain/17674.

Revision 1.12 / (download) - annotate - [select for diffs], Mon May 13 01:44:34 2002 UTC (6 years ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Branch point for: netbsd-1-6
Changes since 1.11: +2 -0 lines
Diff to previous 1.11 (colored)

add "-M makeobjdirprefix" to build.sh

Revision 1.11 / (download) - annotate - [select for diffs], Fri May 3 08:59:13 2002 UTC (6 years ago) by lukem
Branch: MAIN
Changes since 1.10: +4 -5 lines
Diff to previous 1.10 (colored)

Move the METALOG from ${_SRC_TOP_OBJ_} to ${DESTDIR}.

There were too many synchronisation problems with using the former;
including situations such as a "make clean" performed between two
installs to the same DESTDIR would result in a truncated METALOG and
the resultant sets would be missing stuff such as include files that
don't get reinstalled if they haven't changed, even with !UPDATE.

Revision 1.10 / (download) - annotate - [select for diffs], Thu May 2 22:14:12 2002 UTC (6 years ago) by sommerfeld
Branch: MAIN
Changes since 1.9: +18 -12 lines
Diff to previous 1.9 (colored)

Re-gen.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Mar 14 18:33:05 2002 UTC (6 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.8: +11 -0 lines
Diff to previous 1.8 (colored)

Add a -B option to set the BUILDID for the build.  This also causes
the make(1) wrapper script to be named "nbmake-MACHINE-BUILDID".

Revision 1.8 / (download) - annotate - [select for diffs], Tue Mar 5 01:15:51 2002 UTC (6 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.7: +22 -1 lines
Diff to previous 1.7 (colored)

document various supported environment variables, including MAKEOBJDIRPREFIX

Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 4 02:10:02 2002 UTC (6 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.6: +18 -4 lines
Diff to previous 1.6 (colored)

document:
- make's UNPRIVED support
- build.sh's -U support
- the build system currently needs to build onto a file system with
  long file name and hard link support

Revision 1.6 / (download) - annotate - [select for diffs], Sun Nov 25 18:40:34 2001 UTC (6 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +5 -0 lines
Diff to previous 1.5 (colored)

Document the -d option to build.sh

Revision 1.5 / (download) - annotate - [select for diffs], Thu Nov 15 16:20:37 2001 UTC (6 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

Note only <bsd.own.mk> as the authority for determining whether the new
BUILDING instructions should be used.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Nov 14 22:29:23 2001 UTC (6 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.3: +12 -1 lines
Diff to previous 1.3 (colored)

Turn off host-specific objdirs by default.  Set MKHOSTOBJ=yes to enable.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Nov 12 23:16:18 2001 UTC (6 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.2: +1 -18 lines
Diff to previous 1.2 (colored)

Major overhaul of src/tools and host toolchain.  Summary of changes:

* Rewrite src/tools Make logic to work like the rest of the tree wrt
  "dependall" and "install".  The old "make build" hack is gone.

* Remove the MKTOOLS logic.  This was linked to the "make build" hack,
  and was only needed because TOOLDIR originally had no writable default.

* Redo the GNU configure/make logic to make it fit reasonably in a
  BSD make wrapper.  Use new ${.ALLTARGETS} variable to scan for
  targets in $(srcdir), and mark them with .MADE: to prevent rebuilding.

* Only build cross tools in src/tools; remove some messy logic in
  src/usr.* and src/gnu/usr.* that would do target filename rewriting
  (improves consistency and readability).

* Add the ability to build cross gdb at tool build time by setting
  MKCROSSGDB (default no) to "yes" in mk.conf.

* Add src/tools/groff and set up paths to work with this cross groff.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Nov 8 21:29:06 2001 UTC (6 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.1: +1 -3 lines
Diff to previous 1.1 (colored)

Remove mention of BUILDLING.html, and follow rename of BUILDING.txt to
BUILDING.
Noted by Love <lha@stacken.kth.se> on tech-toolchain.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Nov 1 16:34:21 2001 UTC (6 years, 6 months ago) by tv
Branch: MAIN

By popular demand, one preformatted version of BUILDING, plaintext, no CRs.

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>