The NetBSD Project

CVS log for src/Makefile

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.257 / (download) - annotate - [select for diffs], Thu Aug 28 07:21:49 2008 UTC (8 days, 5 hours ago) by lukem
Branch: MAIN
CVS Tags: HEAD
Changes since 1.256: +9 -4 lines
Diff to previous 1.256 (colored)

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

Revision 1.256 / (download) - annotate - [select for diffs], Sun Aug 24 05:56:20 2008 UTC (12 days, 6 hours ago) by gmcgarry
Branch: MAIN
Changes since 1.255: +27 -2 lines
Diff to previous 1.255 (colored)

Build pcc and pcc-based crtstuff if using pcc compiler.

Revision 1.255 / (download) - annotate - [select for diffs], Tue Jul 29 13:17:40 2008 UTC (5 weeks, 2 days ago) by pooka
Branch: MAIN
Changes since 1.254: +4 -2 lines
Diff to previous 1.254 (colored)

Install rump libraries and utilities to the base system and remove the
private non-installed build infrastructure from sys/rump.

breakdown of commit:
  * install relevant headers into /usr/include/rump
  * build sys/rump/librump/rumpuser and sys/rump/librump/rumpkern
    from src/lib and install as librumpuser and librump, respectively
    + this retains the ability to test a librump build with just the
      kernel sources at hand
  * move sys/rump/fs/lib/libukfs and sys/rump/fs/lib/libp2k to src/lib
    for general consumption, they are not kernel-space dwellers anyway
  * build and install sys/rump/fs/lib/lib$fs as librumpfs_$fs
  * add chapter 3 manual pages for rump, rumpuser, ukfs and p2k
  * build and install userspace kernel file system daemons if MKPUFFS=yes
    is spexified
  * retire fsconsole for now, it will make a comeback with an actually
    implemented version shortly

Revision 1.254 / (download) - annotate - [select for diffs], Tue Jul 29 04:49:43 2008 UTC (5 weeks, 3 days ago) by mrg
Branch: MAIN
Changes since 1.253: +5 -1 lines
Diff to previous 1.253 (colored)

if MKXORG != no, use external/mit/xorg subdir instead of x11 subdir for
the mk-x11 target.

Revision 1.252.4.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:26:43 2008 UTC (2 months, 1 week ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.252: +5 -4 lines
Diff to previous 1.252 (colored) next main 1.253 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.252.2.1 / (download) - annotate - [select for diffs], Wed Jun 4 02:02:56 2008 UTC (3 months ago) by yamt
Branch: yamt-pf42
Changes since 1.252: +5 -4 lines
Diff to previous 1.252 (colored) next main 1.253 (colored)

sync with head

Revision 1.253 / (download) - annotate - [select for diffs], Thu May 22 14:13:58 2008 UTC (3 months, 2 weeks ago) by lukem
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1
Changes since 1.252: +5 -4 lines
Diff to previous 1.252 (colored)

Descend into external.
Add 'do-external-lib' target to build external/lib "early"

Revision 1.251.4.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:28 2008 UTC (5 months, 1 week ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.251: +6 -4 lines
Diff to previous 1.251 (colored) next main 1.252 (colored)

sync with head.

Revision 1.247.4.3 / (download) - annotate - [select for diffs], Sun Mar 23 00:12:06 2008 UTC (5 months, 2 weeks ago) by matt
Branch: matt-armv6
Changes since 1.247.4.2: +6 -4 lines
Diff to previous 1.247.4.2 (colored) to branchpoint 1.247 (colored) next main 1.248 (colored)

sync with HEAD

Revision 1.252 / (download) - annotate - [select for diffs], Tue Mar 18 04:24:38 2008 UTC (5 months, 2 weeks ago) by lukem
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base2, yamt-pf42-base, wrstuden-revivesa-base, matt-armv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase
Branch point for: yamt-pf42, wrstuden-revivesa
Changes since 1.251: +6 -4 lines
Diff to previous 1.251 (colored)

Consistently document RELEASEDIR/RELEASEMACHINEDIR.

Revision 1.247.4.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:19:18 2008 UTC (7 months, 3 weeks ago) by matt
Branch: matt-armv6
Changes since 1.247.4.1: +2 -2 lines
Diff to previous 1.247.4.1 (colored) to branchpoint 1.247 (colored)

sync with HEAD

Revision 1.246.2.1.2.2 / (download) - annotate - [select for diffs], Sun Jan 6 05:00:06 2008 UTC (7 months, 4 weeks ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.246.2.1.2.1: +2 -2 lines
Diff to previous 1.246.2.1.2.1 (colored) to branchpoint 1.246.2.1 (colored) next main 1.246.2.2 (colored)

Catch up to netbsd-4.0 release.

Revision 1.251 / (download) - annotate - [select for diffs], Mon Nov 12 15:06:45 2007 UTC (9 months, 3 weeks ago) by jmmv
Branch: MAIN
CVS Tags: matt-armv6-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Branch point for: keiichi-mipv6
Changes since 1.250: +2 -2 lines
Diff to previous 1.250 (colored)

Add the tests.tgz set

This adds a new tests.tgz set to releases which includes all the tests
for the system.  It is important to note that this set does not rely on
comp.tgz: a user of the system can run the tests without having the
development tools installed, which can be useful in a production machine.

Revision 1.247.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:07:10 2007 UTC (9 months, 4 weeks ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.247: +25 -10 lines
Diff to previous 1.247 (colored)

sync with HEAD

Revision 1.246.2.3 / (download) - annotate - [select for diffs], Fri Oct 26 14:23:20 2007 UTC (10 months, 1 week ago) by liamjfoy
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
Changes since 1.246.2.2: +2 -2 lines
Diff to previous 1.246.2.2 (colored) to branchpoint 1.246 (colored) next main 1.247 (colored)

Pull up following revision(s) (requested by pavel in ticket #947):
	Makefile: revision 1.250
	usr.sbin/postinstall/postinstall: revision 1.51
	usr.sbin/postinstall/postinstall: revision 1.52
Return exit status 1 for failed chacks/fixes, 2 for errors. Suggested
by hubertf. Use exit status 3 for internal errors (misuse of internal
functions).
Add a check for obsolete sendmail in /etc/mailer.conf, installs a
fresh copy of the file if invoked as "fix". Not enabled by default.
Do not abort on exit code 1 from postinstall check, this is expected.
Reported, fix suggested and tested by David Holland.
(Why does "make build" invoke postinstall check on destdir is another
question, it does not seem to have much sense.)

Revision 1.250 / (download) - annotate - [select for diffs], Sun Oct 7 16:35:21 2007 UTC (10 months, 4 weeks ago) by pavel
Branch: MAIN
Changes since 1.249: +2 -2 lines
Diff to previous 1.249 (colored)

Do not abort on exit code 1 from postinstall check, this is expected.
Reported, fix suggested and tested by David Holland.

(Why does "make build" invoke postinstall check on destdir is another
question, it does not seem to have much sense.)

Revision 1.246.2.1.2.1 / (download) - annotate - [select for diffs], Sun Sep 30 20:27:37 2007 UTC (11 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.246.2.1: +12 -2 lines
Diff to previous 1.246.2.1 (colored)

Catch up w/ last night's netbsd-4

Revision 1.246.2.2 / (download) - annotate - [select for diffs], Sat Sep 29 11:10:56 2007 UTC (11 months, 1 week ago) by xtraeme
Branch: netbsd-4
CVS Tags: netbsd-4-0-RC3, netbsd-4-0-RC2
Changes since 1.246.2.1: +12 -2 lines
Diff to previous 1.246.2.1 (colored) to branchpoint 1.246 (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.249 / (download) - annotate - [select for diffs], Fri Sep 7 04:20:44 2007 UTC (11 months, 4 weeks ago) by lukem
Branch: MAIN
Changes since 1.248: +13 -8 lines
Diff to previous 1.248 (colored)

Provide 'do-libgcc' to build gnu/lib/crtstuff${LIBGCC_EXT} (if necessary)
and then gnu/lib/libgcc${LIBGCC_EXT}.
Makes it easier to cut&paste from the list of targets built with 'make build'.

Revision 1.248 / (download) - annotate - [select for diffs], Thu Aug 30 05:30:02 2007 UTC (12 months, 1 week ago) by jnemeth
Branch: MAIN
Changes since 1.247: +12 -2 lines
Diff to previous 1.247 (colored)

Add an iso-image-source option which does the same thing as iso-image but
includes source sets as well.  The infrastructure for this was already
there, although it needed a bug fix.  Will look at adding arbitrary
directories next.

Revision 1.246.2.1 / (download) - annotate - [select for diffs], Fri Mar 9 06:59:37 2007 UTC (17 months, 4 weeks ago) by riz
Branch: netbsd-4
CVS Tags: netbsd-4-0-RC1
Branch point for: wrstuden-fixsa
Changes since 1.246: +2 -1 lines
Diff to previous 1.246 (colored)

Pull up following revision(s) (requested by bouyer in ticket #494):
	sys/arch/i386/conf/GENERIC.MP: revision 1.9
	distrib/pc532/cdroms/installcd/Makefile: revision 1.1
	distrib/macppc/Makefile: revision 1.15
	distrib/ofppc/Makefile: revision 1.2
	distrib/ibmnws/Makefile: revision 1.2
	distrib/acorn32/Makefile: revision 1.18
	distrib/x68k/cdroms/installcd/Makefile: revision 1.1
	distrib/sparc/Makefile: revision 1.7
	distrib/sparc64/cdroms/Makefile: revision 1.1
	distrib/hp300/cdroms/Makefile: revision 1.1
	distrib/hpcsh/Makefile: revision 1.6
	distrib/ofppc/cdroms/installcd/Makefile: revision 1.1
	distrib/playstation2/Makefile: revision 1.13
	distrib/news68k/cdroms/installcd/Makefile: revision 1.1
	distrib/amiga/cdroms/installcd/Makefile: revision 1.1
	distrib/hp700/cdroms/installcd/Makefile: revision 1.1
	distrib/playstation2/cdroms/Makefile: revision 1.1
	distrib/amiga/cdroms/Makefile: revision 1.1
	etc/etc.mac68k/Makefile.inc: revision 1.18
	distrib/shark/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcmips/Makefile: revision 1.28
	distrib/hpcmips/cdroms/Makefile: revision 1.1
	distrib/amd64/floppies/Makefile: revision 1.3
	sys/arch/amd64/conf/INSTALL_ACPI: file removal
	distrib/i386/cdroms/Makefile: revision 1.4
	distrib/acorn26/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcsh/cdroms/Makefile: revision 1.1
	distrib/prep/cdroms/Makefile: revision 1.1
	distrib/pc532/Makefile: revision 1.4
	distrib/acorn32/cdroms/installcd/Makefile: revision 1.1
	distrib/sun2/Makefile: revision 1.8
	distrib/vax/Makefile: revision 1.17
	distrib/sparc64/cdroms/installcd/Makefile: revision 1.1
	distrib/pmax/cdroms/Makefile: revision 1.1
	distrib/mipsco/cdroms/installcd/Makefile: revision 1.1
	distrib/sun3/cdroms/installcd/Makefile: revision 1.1
	distrib/vax/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcarm/cdroms/installcd/Makefile: revision 1.1
	distrib/mvme68k/Makefile: revision 1.4
	distrib/mvmeppc/cdroms/Makefile: revision 1.1
	distrib/newsmips/Makefile: revision 1.4
	sys/arch/i386/conf/GENERIC.MPACPI: file removal
	distrib/hpcarm/cdroms/Makefile: revision 1.1
	distrib/evbppc/cdroms/Makefile: revision 1.1
	sys/arch/i386/conf/INSTALL_LARGE: revision 1.1
	distrib/i386/cdroms/installcd/Makefile: revision 1.2
	distrib/i386/cdroms/installcd/Makefile: revision 1.3
	doc/CHANGES: revision 1.804
	distrib/hpcsh/cdroms/installcd/Makefile: revision 1.1
	distrib/i386/cdroms/bootcd/Makefile: revision 1.2
	distrib/mvmeppc/cdroms/installcd/Makefile: revision 1.1
	distrib/i386/cdroms/bootcd/Makefile: revision 1.3
	distrib/evbarm/Makefile: revision 1.8
	distrib/mvmeppc/Makefile: revision 1.3
	distrib/i386/cdroms/bootcd-com/Makefile: revision 1.2
	distrib/i386/cdroms/bootcd-com/Makefile: revision 1.3
	distrib/macppc/cdroms/installcd/Makefile: revision 1.1
	distrib/acorn26/cdroms/Makefile: revision 1.1
	distrib/alpha/cdroms/Makefile: revision 1.1
	distrib/hp300/cdroms/installcd/Makefile: revision 1.1
	distrib/amd64/floppies/bootfloppy/Makefile: revision 1.4
	distrib/pmppc/cdroms/installcd/Makefile: revision 1.1
	distrib/hp700/Makefile: revision 1.2
	distrib/pmppc/Makefile: revision 1.2
	distrib/arc/cdroms/Makefile: revision 1.1
	sys/arch/amd64/conf/INSTALL: revision 1.66
	distrib/sun3/cdroms/Makefile: revision 1.1
	distrib/mipsco/Makefile: revision 1.4
	distrib/sun3/Makefile: revision 1.9
	distrib/vax/cdroms/Makefile: revision 1.1
	distrib/pmppc/cdroms/Makefile: revision 1.1
	distrib/amd64/cdroms/Makefile.cdrom: revision 1.1
	distrib/atari/cdroms/installcd/Makefile: revision 1.1
	distrib/evbppc/cdroms/installcd/Makefile: revision 1.1
	distrib/newsmips/cdroms/installcd/Makefile: revision 1.1
	distrib/pmax/Makefile: revision 1.4
	Makefile: revision 1.247
	distrib/cats/cdroms/installcd/Makefile: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.130
	sys/arch/amd64/conf/GENERIC: revision 1.131
	distrib/sgimips/cdroms/installcd/Makefile: revision 1.1
	distrib/hp700/cdroms/Makefile: revision 1.1
	distrib/cats/cdroms/Makefile: revision 1.1
	distrib/evbmips/Makefile: revision 1.3
	distrib/evbmips/Makefile: revision 1.4
	sys/arch/amd64/conf/GENERIC_ACPI: file removal
	distrib/ews4800mips/Makefile: revision 1.2
	distrib/amd64/cdroms/bootcd-com/Makefile: revision 1.2
	distrib/i386/Makefile: revision 1.5
	distrib/amd64/cdroms/installcd/Makefile: revision 1.2
	distrib/mvme68k/cdroms/installcd/Makefile: revision 1.1
	distrib/alpha/cdroms/installcd/Makefile: revision 1.1
	etc/etc.amd64/Makefile.inc: revision 1.7
	distrib/i386/instkernel/Makefile: revision 1.6
	distrib/x68k/cdroms/Makefile: revision 1.1
	distrib/i386/cdroms/Makefile.cdrom: revision 1.1
	distrib/sandpoint/Makefile: revision 1.4
	distrib/i386/cdroms/Makefile.cdrom: revision 1.2
	distrib/amiga/Makefile: revision 1.3
	distrib/amd64/cdroms/bootcd/Makefile: revision 1.2
	distrib/news68k/Makefile: revision 1.4
	distrib/amd64/floppies/bootfloppy-com/Makefile: revision 1.5
	distrib/news68k/cdroms/Makefile: revision 1.1
	distrib/sparc/cdroms/Makefile: revision 1.1
	distrib/shark/cdroms/Makefile: revision 1.1
	etc/Makefile: revision 1.341
	distrib/amd64/instkernel/Makefile: revision 1.2
	distrib/sparc64/Makefile: revision 1.7
	distrib/dreamcast/cdroms/Makefile: revision 1.1
	distrib/shark/Makefile: revision 1.3
	distrib/ews4800mips/cdroms/Makefile: revision 1.1
	distrib/sun2/cdroms/installcd/Makefile: revision 1.1
	distrib/shark/Makefile: revision 1.4
	distrib/macppc/cdroms/Makefile: revision 1.1
	distrib/mvme68k/cdroms/Makefile: revision 1.1
	distrib/sun2/cdroms/Makefile: revision 1.1
	distrib/hpcarm/Makefile: revision 1.3
	distrib/arc/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcmips/cdroms/installcd/Makefile: revision 1.1
	distrib/mipsco/cdroms/Makefile: revision 1.1
	distrib/Makefile.inc: revision 1.9
	distrib/playstation2/cdroms/installcd/Makefile: revision 1.1
	distrib/ibmnws/cdroms/installcd/Makefile: revision 1.1
	distrib/newsmips/cdroms/Makefile: revision 1.1
	distrib/arc/Makefile: revision 1.3
	distrib/sparc/cdroms/installcd/Makefile: revision 1.1
	distrib/evbmips/cdroms/installcd/Makefile: revision 1.1
	distrib/ews4800mips/cdroms/installcd/Makefile: revision 1.1
	distrib/prep/Makefile: revision 1.3
	distrib/ibmnws/cdroms/Makefile: revision 1.1
	distrib/sandpoint/cdroms/Makefile: revision 1.1
	distrib/atari/Makefile: revision 1.6
	distrib/sgimips/cdroms/Makefile: revision 1.1
	distrib/amd64/Makefile: revision 1.4
	distrib/atari/cdroms/Makefile: revision 1.1
	distrib/x68k/Makefile: revision 1.5
	distrib/x68k/Makefile: revision 1.6
	distrib/sandpoint/cdroms/installcd/Makefile: revision 1.1
	distrib/evbarm/cdroms/Makefile: revision 1.1
	distrib/acorn32/cdroms/Makefile: revision 1.1
	distrib/cats/Makefile: revision 1.3
	distrib/evbmips/cdroms/Makefile: revision 1.1
	distrib/pc532/cdroms/Makefile: revision 1.1
	distrib/Makefile: revision 1.14
	distrib/evbarm/cdroms/installcd/Makefile: revision 1.1
	distrib/ofppc/cdroms/Makefile: revision 1.1
	distrib/amd64/cdroms/Makefile: revision 1.3
	distrib/common/Makefile.bootcd: revision 1.8
	distrib/i386/cdroms/bootcd-laptop/Makefile: file removal
	sys/arch/i386/conf/GENERIC: revision 1.813
	distrib/hp300/Makefile: revision 1.17
	sys/arch/i386/conf/GENERIC: revision 1.814
	distrib/evbppc/Makefile: revision 1.2
	distrib/pmax/cdroms/installcd/Makefile: revision 1.1
	etc/etc.i386/Makefile.inc: revision 1.49
	distrib/sgimips/Makefile: revision 1.2
	distrib/prep/cdroms/installcd/Makefile: revision 1.1
	distrib/acorn26/Makefile: revision 1.4
	distrib/dreamcast/cdroms/installcd/Makefile: revision 1.1
	distrib/alpha/Makefile: revision 1.22
	distrib/dreamcast/Makefile: revision 1.2
Improve the use of makefs to build boot CDs, and make it truely MI:
- allow to specify the "instkernel" directory, and allow to put multiple
  kernels on the image
- allow to specify the directory where the image will be created
- only use bootxx_cd9660 if it exists
- search for second-stage boot as usr/mdec/boot.${MACHINE} in addition to
  usr/mdec/boot
- make 'installboot -e' optional
- use target 'release' or 'iso_image' depending on ${CDRELEASE}
- call some MD targets, which will eventually complete the file list or
  make the image bootable
For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
  image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
  (for thoses who want to build el-torito floppy emulation boot CD) and use
  INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.
call iso_image in distrib/ for iso-image in the top Makefile.
Use the new common/Makefile.bootcd to make i386 and amd64 bootable ISO
images. amd64 gets a single kernel; i386 images gets 3 kernels:
- netbsd, copy from netbsd-INSTALL_LARGE.gz, loaded by default
- nbsd-l, copy from netbsd-INSTALL_LAPTOP.gz
- nbsd-i, copy from netbsd-INSTALL.gz for those who want the traditionnal
  non-ACPI kernel
- drop the bootcd-laptop image
both gets an installcd image, which is the same as bootcd but with the
binary sets in addition to kernels.
Make iso-image do nothing for all but mac68k, which still
relies on mkisofs to create bootable ISO image. macppc should also be there,
but it seems the code to make an iso bootable never got added in etc.macppc/
Fix typo in subdir name.
Revert local changes that went in accidentally with the "add ACPI" commit.
Note ACPI by default in i386/amd64, and the iso-image changes.
Fix SUBDIR in previous
Remove duplicate ACPIVERBOSE and ACPI_SCANPCI; pointed out by Nicolas Joly.
Correct typo: the directory is named cdroms, not cdrom.
Use nblaptop and nbnoacpi for the alternative kernel names; as suggected by
Alan Barrett. While there factor out the kernels in Makefile.cdrom.

Revision 1.247 / (download) - annotate - [select for diffs], Tue Mar 6 21:56:47 2007 UTC (18 months ago) by bouyer
Branch: MAIN
CVS Tags: matt-mips64-base, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.246: +2 -1 lines
Diff to previous 1.246 (colored)

Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.

call iso_image in distrib/ for iso-image in the top Makefile.

Revision 1.246 / (download) - annotate - [select for diffs], Thu Sep 7 03:51:44 2006 UTC (23 months, 4 weeks ago) by dbj
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.245: +2 -2 lines
Diff to previous 1.245 (colored)

don't filter out .WAIT when converting from _SUBDIR to SUBDIR

Revision 1.245 / (download) - annotate - [select for diffs], Fri Jun 2 22:16:18 2006 UTC (2 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.244: +3 -7 lines
Diff to previous 1.244 (colored)

remove support for building (with) GCC 2.95.  also:
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.

Revision 1.244 / (download) - annotate - [select for diffs], Fri Apr 7 19:38:58 2006 UTC (2 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.243: +6 -2 lines
Diff to previous 1.243 (colored)

retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4.

Revision 1.243 / (download) - annotate - [select for diffs], Sat Jan 28 21:34:08 2006 UTC (2 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.242: +14 -1 lines
Diff to previous 1.242 (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.242 / (download) - annotate - [select for diffs], Sat Jan 21 19:01:15 2006 UTC (2 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.241: +15 -15 lines
Diff to previous 1.241 (colored)

Add .MAKE to all targets that use ${MAKEDIRTARGET} otherwise make closes
the job-token pipe and the sub-makes have their own '-j n' processes.
As well as giving unexpected parallelism, it makes it impossible to stop
the build promptly on errors.

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

Add a new "syspkgs" target, which simply chains to the "syspkgs" target
in distrib/sets/Makefile.

Reviewed by agc

Revision 1.238.2.4 / (download) - annotate - [select for diffs], Fri Sep 2 20:40:23 2005 UTC (3 years ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.238.2.3: +5 -5 lines
Diff to previous 1.238.2.3 (colored) to branchpoint 1.238 (colored) next main 1.239 (colored)

Pull up following revision(s) (requested by lukem in ticket #716):
	Makefile: revision 1.240
Modify "release" to invoke "make distribution" instead of "make build",
so that the "obsolete file removal" functionality of "distribution" is used.
Fixes build problems numerous people have experienced with MKUPDATE=yes
and the "release" target.

Revision 1.238.2.3 / (download) - annotate - [select for diffs], Tue Aug 30 05:56:05 2005 UTC (3 years ago) by tron
Branch: netbsd-3
Changes since 1.238.2.2: +5 -5 lines
Diff to previous 1.238.2.2 (colored) to branchpoint 1.238 (colored)

Backout ticket #716 because it causes build failures if "build.sh" is
used with the "-j" argument.

Revision 1.238.2.2 / (download) - annotate - [select for diffs], Sun Aug 28 10:17:52 2005 UTC (3 years ago) by tron
Branch: netbsd-3
Changes since 1.238.2.1: +4 -4 lines
Diff to previous 1.238.2.1 (colored) to branchpoint 1.238 (colored)

Pull up following revision(s) (requested by lukem in ticket #716):
	Makefile: revision 1.240
Modify "release" to invoke "make distribution" instead of "make build",
so that the "obsolete file removal" functionality of "distribution" is used.
Fixes build problems numerous people have experienced with MKUPDATE=yes
and the "release" target.

Revision 1.240 / (download) - annotate - [select for diffs], Thu Aug 25 02:04:39 2005 UTC (3 years ago) by lukem
Branch: MAIN
Changes since 1.239: +5 -5 lines
Diff to previous 1.239 (colored)

Modify "release" to invoke "make distribution" instead of "make build",
so that the "obsolete file removal" functionality of "distribution" is used.
Fixes build problems numerous people have experienced with MKUPDATE=yes
and the "release" target.

Revision 1.238.2.1 / (download) - annotate - [select for diffs], Wed Apr 20 11:23:52 2005 UTC (3 years, 4 months ago) by tron
Branch: netbsd-3
Changes since 1.238: +6 -4 lines
Diff to previous 1.238 (colored)

Pull up revision 1.239 (requested by lukem in ticket #165):
use usr.sbin/postinstall/postinstall instead of etc/postinstall

Revision 1.239 / (download) - annotate - [select for diffs], Sun Apr 17 15:18:34 2005 UTC (3 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.238: +6 -4 lines
Diff to previous 1.238 (colored)

use usr.sbin/postinstall/postinstall instead of etc/postinstall

Revision 1.238 / (download) - annotate - [select for diffs], Sat Jan 1 10:32:39 2005 UTC (3 years, 8 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.237: +2 -2 lines
Diff to previous 1.237 (colored)

correct the comment describing the build order

Revision 1.237 / (download) - annotate - [select for diffs], Thu Sep 2 02:02:38 2004 UTC (4 years ago) by tacha
Branch: MAIN
Changes since 1.236: +3 -1 lines
Diff to previous 1.236 (colored)

DO do-gnu-lib-crtstuff${LIBGCC_EXT} only when ${HAVE_GCC3} != "no",
since we don't have crtstuff subdirectory.

Revision 1.236 / (download) - annotate - [select for diffs], Sat Aug 28 00:18:38 2004 UTC (4 years ago) by thorpej
Branch: MAIN
Changes since 1.235: +5 -2 lines
Diff to previous 1.235 (colored)

Switch to using GCC's supplied crtbegin / crtend files.

Revision 1.235 / (download) - annotate - [select for diffs], Fri Jul 30 07:05:11 2004 UTC (4 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.234: +1 -5 lines
Diff to previous 1.234 (colored)

The do-lib-libdes BUILDTARGET is unnecessary now we have the DEPLIBS
support that I added to src/lib/Makefile.inc.

Revision 1.234 / (download) - annotate - [select for diffs], Mon May 17 07:00:16 2004 UTC (4 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.233: +1 -2 lines
Diff to previous 1.233 (colored)

Move '${MAKEDIRTARGET} x11 distribution' from Makefile::distribution to
etc/Makefile::distribution, and only perform if ${MKX11}!=no.
Should fix a problem experienced by Alistair whilst doing a "make release".

Revision 1.233 / (download) - annotate - [select for diffs], Sun May 16 10:27:21 2004 UTC (4 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.232: +2 -1 lines
Diff to previous 1.232 (colored)

Perform 'make distribution' in ./x11/ as part of the distribution target.

Revision 1.232 / (download) - annotate - [select for diffs], Tue Apr 13 12:43:12 2004 UTC (4 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.231: +26 -27 lines
Diff to previous 1.231 (colored)

Convert lines of the form
	(cd ${.CURDIR}/somedir && ${MAKE} AVAR=value atarget)
to
	${MAKEDIRTARGET} somedir atarget AVAR=value
which results in a "prettier" display of these operations

Revision 1.231 / (download) - annotate - [select for diffs], Sun Feb 15 19:52:27 2004 UTC (4 years, 6 months ago) by skrll
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.230: +3 -2 lines
Diff to previous 1.230 (colored)

Be more gcc like in the way we deal with libgcc so that sh3/hppa millicode
and exception handling have a chance of working properly.

        - creates libgcc, libgcc_eh and libgcc_s

        - updates LIBGCC_SPEC to use them appropriately.

          There's a hack in here at the moment with respect to libgcc_so in that it
          is preferable to link against libgcc_so will only when -shared-libgcc is
          specified (the c++ frontend does this automatically.) Configurations where
          LINK_EH_SPEC is defined already do this. The gcc configuration for
          NetBSD/alpha and another NetBSD platform (I forget which) actually define
          LINK_EH_SPEC probably by accident rather than design.

        - updates share/mk to use the compiler's knowledge of what needs linking into
          libraries and executables. This removes an hppa hack.

        - updates the sets for the newly created libgcc* files.

	- support for linking against the _pg version of libgcc has been removed.

Revision 1.230 / (download) - annotate - [select for diffs], Fri Feb 6 23:12:56 2004 UTC (4 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.229: +2 -1 lines
Diff to previous 1.229 (colored)

MAKEVERBOSE support for build-docs

Revision 1.229 / (download) - annotate - [select for diffs], Tue Jan 27 04:22:25 2004 UTC (4 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.228: +2 -14 lines
Diff to previous 1.228 (colored)

implement params with  cd etc && make params

Revision 1.228 / (download) - annotate - [select for diffs], Tue Jan 27 01:45:07 2004 UTC (4 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.227: +26 -26 lines
Diff to previous 1.227 (colored)

Apply the .PHONY attribute where appropriate.
Fixes [toolchain/21453] from rafal@.

Revision 1.227 / (download) - annotate - [select for diffs], Thu Jan 8 07:01:06 2004 UTC (4 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.226: +8 -1 lines
Diff to previous 1.226 (colored)

Implement do-x11, to run "make build" in ./x11/
If MKX11 != no, add "do-x11" to BUILDTARGETS.

Say ``hello'' to Imakeicide.

Revision 1.226 / (download) - annotate - [select for diffs], Tue Jan 6 07:25:40 2004 UTC (4 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.225: +2 -2 lines
Diff to previous 1.225 (colored)

rename  release-info  to  etc-release
rename  install-release-info  to  install-etc-release

Revision 1.225 / (download) - annotate - [select for diffs], Sun Jan 4 13:30:09 2004 UTC (4 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.224: +2 -1 lines
Diff to previous 1.224 (colored)

Run "cd etc && make install-release-info" at the end of the "build" target.
Based on Hubert Feyrer's suggestion on tech-userlevel@.

Revision 1.224 / (download) - annotate - [select for diffs], Sun Jan 4 00:27:15 2004 UTC (4 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.223: +8 -3 lines
Diff to previous 1.223 (colored)

only build do-lib-libdes if ${MKCRYPTO}!=no

Revision 1.223 / (download) - annotate - [select for diffs], Sat Jan 3 14:04:27 2004 UTC (4 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.222: +2 -2 lines
Diff to previous 1.222 (colored)

Consistently check ${TOOLCHAIN_MISSING} against "no".

Revision 1.222 / (download) - annotate - [select for diffs], Fri Dec 5 22:33:01 2003 UTC (4 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.221: +3 -3 lines
Diff to previous 1.221 (colored)

fix some comments

Revision 1.221 / (download) - annotate - [select for diffs], Sat Jul 26 17:10:25 2003 UTC (5 years, 1 month ago) by salo
Branch: MAIN
Changes since 1.220: +2 -2 lines
Diff to previous 1.220 (colored)

netbsd.org->NetBSD.org

Revision 1.220 / (download) - annotate - [select for diffs], Fri Jul 25 19:20:47 2003 UTC (5 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.219: +8 -3 lines
Diff to previous 1.219 (colored)

maybe build gnu/lib/libgcc3 instead of libgcc[2]

Revision 1.219 / (download) - annotate - [select for diffs], Fri Jul 25 00:26:35 2003 UTC (5 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.218: +2 -1 lines
Diff to previous 1.218 (colored)

document do-lib-libdes

Revision 1.218 / (download) - annotate - [select for diffs], Thu Jul 24 21:54:07 2003 UTC (5 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.217: +4 -3 lines
Diff to previous 1.217 (colored)

Make and install libdes before the rest; libkrb needs it.
XXX there must be a better way.

Revision 1.217 / (download) - annotate - [select for diffs], Mon Jul 21 02:01:42 2003 UTC (5 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.216: +2 -2 lines
Diff to previous 1.216 (colored)

tweak how postinstall-fix-obsolete is made.  (may fix various problem reports)

Revision 1.216 / (download) - annotate - [select for diffs], Sun Jul 20 13:08:43 2003 UTC (5 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.215: +2 -2 lines
Diff to previous 1.215 (colored)

redo previous (functionality rollback of 1.213) to retain the style of 1.213

Revision 1.215 / (download) - annotate - [select for diffs], Sun Jul 20 13:03:47 2003 UTC (5 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.214: +2 -2 lines
Diff to previous 1.214 (colored)

Undo revision 1.213 now that grotty is fixed. Tested by lukem, thanks!

Revision 1.214 / (download) - annotate - [select for diffs], Fri Jul 18 08:26:01 2003 UTC (5 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.213: +14 -10 lines
Diff to previous 1.213 (colored)

Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was defined.
Replace defined(UNPRIVED) tests with ${MKUNPRIVED} != "no"

Add MKUPDATE; if not no has the same semantics as if UPDATE was defined.
Replace defined(UPDATE) tests with ${MKUPDATE} != "no"

Improve documentation for these and other make flags.

Revision 1.213 / (download) - annotate - [select for diffs], Fri Jul 18 02:15:17 2003 UTC (5 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.212: +2 -2 lines
Diff to previous 1.212 (colored)

grotty from groff 1.19 needs -c for -b, -o or -u to work.

This is damn annoying, because it means the old method of "groff -P-bou"
won't suppress escape codes, unless -P-c is also provided.
(Mmm, quality software...)

Revision 1.212 / (download) - annotate - [select for diffs], Thu Jul 17 07:46:11 2003 UTC (5 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.211: +10 -4 lines
Diff to previous 1.211 (colored)

Add postinstall-fix-obsolete (to invoke "postinstall fix obsolete" -
funny that :), and call in "distribution" just before the "make checkflist".
Should minimise a bunch of the "I use make UPDATE= and checkflist failed"
errors, but not all of them.

Revision 1.211 / (download) - annotate - [select for diffs], Thu Jul 10 10:33:58 2003 UTC (5 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.210: +3 -2 lines
Diff to previous 1.210 (colored)

Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.

Revision 1.210 / (download) - annotate - [select for diffs], Tue Jul 8 04:25:21 2003 UTC (5 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.209: +4 -3 lines
Diff to previous 1.209 (colored)

add MAKECONF to vars that "params" target shows

Revision 1.209 / (download) - annotate - [select for diffs], Sun Jul 6 13:04:01 2003 UTC (5 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.208: +19 -1 lines
Diff to previous 1.208 (colored)

Add "params" target, to display the value of various variables.
This is part of a broader plan to improve diagnostics & support
to end-users of build.sh.

Revision 1.208 / (download) - annotate - [select for diffs], Sat Jul 5 04:32:58 2003 UTC (5 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.207: +5 -3 lines
Diff to previous 1.207 (colored)

update "targets invoked by make build" to match reality ...

Revision 1.207 / (download) - annotate - [select for diffs], Thu Jun 26 17:46:56 2003 UTC (5 years, 2 months ago) by drochner
Branch: MAIN
Changes since 1.206: +6 -3 lines
Diff to previous 1.206 (colored)

build libgcc early, if at all

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

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

Revision 1.205 / (download) - annotate - [select for diffs], Fri Apr 18 19:14:39 2003 UTC (5 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.204: +2 -2 lines
Diff to previous 1.204 (colored)

.WAIT before distrib, since distrib may need things built earlier
in the build process.

Revision 1.204 / (download) - annotate - [select for diffs], Thu Apr 17 00:33:44 2003 UTC (5 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.203: +3 -4 lines
Diff to previous 1.203 (colored)

libcrypto no longer depends on libcrypt, so there is no need to build
it early.

Revision 1.203 / (download) - annotate - [select for diffs], Fri Apr 4 01:16:28 2003 UTC (5 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.202: +2 -6 lines
Diff to previous 1.202 (colored)

Fix merge botch in last.

Revision 1.202 / (download) - annotate - [select for diffs], Fri Apr 4 01:06:00 2003 UTC (5 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.201: +8 -1 lines
Diff to previous 1.201 (colored)

Always build tools/compat, so that random host helper programs
can use libnbcompat, if necessary.

Revision 1.201 / (download) - annotate - [select for diffs], Thu Apr 3 00:41:50 2003 UTC (5 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.200: +4 -3 lines
Diff to previous 1.200 (colored)

Link libcrypto against libcrypt to make sure crypt() is still there -- and
therefore build it earlier in the build process as well.

Revision 1.200 / (download) - annotate - [select for diffs], Sat Feb 22 03:20:45 2003 UTC (5 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.199: +5 -1 lines
Diff to previous 1.199 (colored)

all:
	Use /var/db/obsolete instead of /etc/obsolete

etc/Makefile:
	Create separate target "install-obsolete-files" to populate
	/var/db/obsolete, instead of using "install-etc-files".

Makefile:
	Add do-obsolete target, to run "cd etc && make install-obsolete-files",
	and add this to BUILDTARGETS.
	This moves the "obsolete files" creation from "distribution" to "build".


Per discussion with Andrew Brown.

Revision 1.199 / (download) - annotate - [select for diffs], Sun Jan 26 06:19:12 2003 UTC (5 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.198: +8 -1 lines
Diff to previous 1.198 (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.198 / (download) - annotate - [select for diffs], Mon Jan 6 17:40:18 2003 UTC (5 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.197: +1 -15 lines
Diff to previous 1.197 (colored)

Rework how KERNOBJDIR functions; now it's always determined with
	cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
This is far simpler than the previous system, and more robust with
objdirs built via BSDOBJDIR.

The previous method of finding KERNOBJDIR when using BSDOBJDIR by
referencing _SRC_TOP_OBJ_ from another directory was extremely
fragile due to the depth first tree walk by <bsd.subdir.mk>, and
the caching of _SRC_TOP_OBJ_ (with MAKEOVERRIDES) which would be
empty on the *first* pass to create fresh objdirs.

This change requires adding sys/arch/*/compile/Makefile to create
the objdir in that directory, and descending into arch/*/compile
from arch/*/Makefile.  Remove the now-unnecessary .keep_me files
whilst here.

Per lengthy discussion with Andrew Brown.

Revision 1.197 / (download) - annotate - [select for diffs], Sat Jan 4 15:50:32 2003 UTC (5 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.196: +12 -20 lines
Diff to previous 1.196 (colored)

Add an obj rule to create ${KERNOBJDIR} here, at the end of the "make obj"
pass.  (etc/Makefile doesn't create this any more).

Revision 1.196 / (download) - annotate - [select for diffs], Fri Jan 3 15:34:30 2003 UTC (5 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.195: +17 -6 lines
Diff to previous 1.195 (colored)

Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.

Revision 1.195 / (download) - annotate - [select for diffs], Thu Jan 2 23:15:27 2003 UTC (5 years, 8 months ago) by atatat
Branch: MAIN
Changes since 1.194: +23 -1 lines
Diff to previous 1.194 (colored)

The obj target for src/etc is invoked too early for it to function
properly in a clean tree (bsd.subdir.mk makes the obj target in
.CURDIR depend on the recursive targets).  If "make obj" is invoked a
second time, the problem will correct itself.  To work around this:

(1) Before including bsd.subdir.mk, create a target called "obj-etc"
so that the "regular" one (from bsd.subdir.mk) won't be instantiated.

(2) After including bsd.obj.mk, create a "real" obj-etc target that
does the required work with .USE as a "source" so that we can merely
cons it onto the actual obj target.  Note that this is only done if
the obj target has commands (ie, NOOBJ was not set and MKOBJ was not
no and whatever else you might have come up with) and we would have
recursed into etc anyway (etc is in the SUBDIR list).

This makes the obj target in src/etc get invoked *after* the obj
target in the root of the source tree so that KERNOBJDIR will have the
correct value.

Reviewed by lukem.

Revision 1.194 / (download) - annotate - [select for diffs], Thu Dec 26 12:01:48 2002 UTC (5 years, 8 months ago) by lukem
Branch: MAIN
CVS Tags: fvdl_fs64_base, fvdl_fs64
Changes since 1.193: +4 -3 lines
Diff to previous 1.193 (colored)

fix DESTDIR checks if !defined(DESTDIR)

Revision 1.193 / (download) - annotate - [select for diffs], Sat Dec 21 16:43:33 2002 UTC (5 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.192: +64 -3 lines
Diff to previous 1.192 (colored)

* Add two new (experimental) targets:

	buildworld	Builds a distribution into DESTDIR as per
			"make distribution", except that DESTDIR
			*must* be defined and *must not* be "" or "/".

	installworld	Copies (using distrib/sets/maketars -i ...) from
			${DESTDIR} to ${INSTALLWORLDDIR} (defaults == `/'),
			and then runs "postinstall-check" against
			${INSTALLWORLDDIR}.
			If ${INSTALLWORLDDIR} == "/", ensure that
			`uname -s` == "NetBSD" and `uname -m` == ${MACHINE},
			to prevent nasty accidents...

* Tweak some comments

Revision 1.192 / (download) - annotate - [select for diffs], Mon Dec 2 08:27:03 2002 UTC (5 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.191: +3 -1 lines
Diff to previous 1.191 (colored)

improve previous; show times at end of distribution/release/snapshot as well

Revision 1.191 / (download) - annotate - [select for diffs], Mon Dec 2 08:23:41 2002 UTC (5 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.190: +5 -2 lines
Diff to previous 1.190 (colored)

show the start time at the end of the build as well.
inspired by [misc/18173] from Julio Merino.

Revision 1.175.2.3 / (download) - annotate - [select for diffs], Sat Nov 30 15:27:33 2002 UTC (5 years, 9 months ago) by he
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.175.2.2: +4 -3 lines
Diff to previous 1.175.2.2 (colored) to branchpoint 1.175 (colored) next main 1.176 (colored)

Pull up revision 1.186 (via patch, requested by thorpej in ticket #813):
  Add a do-lib-libc target which is processed after do-lib-csu.
  This ensures that the results of the libc build are available
  to other lib builds (notably, llib-lc.ln).

Revision 1.190 / (download) - annotate - [select for diffs], Fri Nov 29 23:48:37 2002 UTC (5 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.189: +6 -1 lines
Diff to previous 1.189 (colored)

Add do-{target} aliases for:  cleandir  obj  includes
to be consistent with the other do-TARGET targets for make build.
(These are not used by "make build" per se, they're just to make my
life easier)

Revision 1.175.2.2 / (download) - annotate - [select for diffs], Fri Nov 15 04:15:13 2002 UTC (5 years, 9 months ago) by lukem
Branch: netbsd-1-6
Changes since 1.175.2.1: +15 -9 lines
Diff to previous 1.175.2.1 (colored) to branchpoint 1.175 (colored)

Pull up revisions 1.177 - 1.180
    1.177:
	Change directory to .CURDIR before invoking ${MAKE}.
    1.178:
	Fix whitespace usage in comment.
    1.179:
	Fix what rev. 1.176 broke, in particular, doing a priv'd build into
	an NFS root area for a diskless client.  In such a situation, you
	DO want the postinstall-check to be run.

	The circumstances under which postinstall-check is now run:
	* UNPRIVED is not set.
	* The original target invoked was not distribution, release, or
	  snapshot.
    1.180:
	find the Makefile for postinstall-check in the presence of ${.OBJDIR}s

Resolves ticket #993 from grant (and possibly others), and some PRs

Revision 1.189 / (download) - annotate - [select for diffs], Tue Nov 12 14:33:48 2002 UTC (5 years, 9 months ago) by itohy
Branch: MAIN
Changes since 1.188: +9 -4 lines
Diff to previous 1.188 (colored)

MKDYNAMICROOT for a.out

Revision 1.175.2.1 / (download) - annotate - [select for diffs], Fri Nov 1 11:55:04 2002 UTC (5 years, 10 months ago) by tron
Branch: netbsd-1-6
Changes since 1.175: +5 -2 lines
Diff to previous 1.175 (colored)

Pull up revision 1.176 (requested by lukem in ticket #319):
In afterinstall, only run postinstall check if DESTDIR != / (or equivalents).
Fixes [misc/17275] from Gregory McGarry <g.mcgarry@ieee.org>

Revision 1.188 / (download) - annotate - [select for diffs], Sat Sep 21 08:19:28 2002 UTC (5 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.187: +2 -2 lines
Diff to previous 1.187 (colored)

move BUILDING.mdoc -> doc/BUILDING.mdoc

Revision 1.187 / (download) - annotate - [select for diffs], Tue Sep 17 23:18:25 2002 UTC (5 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.186: +6 -5 lines
Diff to previous 1.186 (colored)

* Eliminate the USE_NEW_TOOLCHAIN variable.  Instead, split it into
  two variables:

  TOOLCHAIN_MISSING -- set to "yes" on platforms for which there is
  no working in-tree toolchain (hppa, ns32k, sh5, x86_64).

  EXTERNAL_TOOLCHAIN -- if defined by the user, points to the root of
  an external toolchain (e.g. /usr/local/gnu).  This enables the cross-build
  framework even for TOOLCHAIN_MISSING platforms.

  If TOOLCHAIN_MISSING is set to "yes", MKGDB, MKBFD, and MKGCC are all
  unconditionally set to "no", since the bits are not there to build.

  If EXTERNAL_TOOLCHAIN is set, MKGCC is unconditionally set to "no",
  since the external toolchain's compiler is not in-sync with the
  in-tree compiler support components (e.g. libgcc).

* Set MACHINE_CPU much earlier in bsd.own.mk, so that more tests in
  that file can use it.

Revision 1.186 / (download) - annotate - [select for diffs], Sat Sep 14 16:46:24 2002 UTC (5 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.185: +4 -3 lines
Diff to previous 1.185 (colored)

Add a do-lib-libc target which is processed after do-lib-csu.  This
ensures that the results of the libc build are available to other
lib builds (notably, llib-lc.ln).

Revision 1.185 / (download) - annotate - [select for diffs], Fri Aug 30 06:30:33 2002 UTC (6 years ago) by lukem
Branch: MAIN
Changes since 1.184: +3 -1 lines
Diff to previous 1.184 (colored)

print date when make {distribution,release,snapshot} finished