Commit Graph

37 Commits

Author SHA1 Message Date
lukem 094e12e661 consistently use "${INSTALLBOOT} -v ..." 2002-05-14 06:21:20 +00:00
lukem 04e61f8526 - whitespace consistency cleanup
- build (mdset/nm/strip) into ${filename} as one rule, and move ${filename}.gz
  into separate rule
- rename MDSET.${filename}.nosymbols -> MDSET_NOSYMBOLS.${filename}
- rename MDSET.${filename}.post -> MDSET_POST.${filename}, and don't do
  suffix handling here
- rework suffix handling:
	- rename MDSET.${filename}.suffixes -> MDSET_SUFFIXES.${filename},
	  and change from list of suffixes to list of "suffix cmdtobuildsuffix",
  	  where cmdtobuildsuffix is the name of the variable containing the
	  command to build ${filename}.${suffix} (available as "${.TARGET}").
	- for each ${filename}.${suffix}, depend upon ${filename} and use
	  ${cmdtobuildsuffix} to create the former.
	- add separate ${filename}.${suffix}.gz rule
- mipsco & pmax: rename "install.gz" to "netbsd-INSTALL.gz", for
  consistency and so the target to build the mdset kernel doesn't get
  confused with general "install" target
2002-05-08 21:44:53 +00:00
lukem d5209f6152 rather than blocking parallel mdset builds with .WAIT, replace usage of
"netbsd.tmp" with "${.TARGET:R}" (et al)
2002-05-03 15:22:55 +00:00
lukem 611543b0a7 provide common/mtree.dot (contains entry for ". type=dir ...") , and
use that rather than MTREE entry in the list, because Makefile.image
needs at least one mtree file anyway
2002-05-03 14:20:54 +00:00
lukem ed8e534c7e yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
  (fixes problem caused by implicit include of ../Makefile.inc in certain
  submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*;  rely upon "snap_pre" target of
  etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
2002-05-02 18:02:14 +00:00
simonb 085fb8f093 Add a "MTREE . type=dir" line to keep the distrib scripts happy.
Copy the install kernel from ${OBJDIR} - the script that does this
explicitly runs from the SRCDIR.
2002-05-02 13:28:40 +00:00
simonb 876dba6110 Use "boot.pmax" instead of just "boot" in IMAGEDEPENDS. 2002-05-02 13:26:38 +00:00
lukem 9e5598221a replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version 2002-04-26 15:50:21 +00:00
lukem 8e8fe76d90 Makefile.mdset: add ${KERNELDEPS} variable which is ${KERNELS} with
.WAIT between the items, and remove .WAIT from ${KERNELS}.
Use ${KERNELDEPS} in make dependencies.
2002-04-14 06:18:12 +00:00
lukem 36f355e14e - Rename Makefile.mdset variables:
MDEXTRA_SUFFIXES.${KERNEL} 	-> MDSET.${FILENAME}.suffixes
	${KERNEL.${_K}}.post		-> MDSET.${FILENAME}.post
  This allows "default" rules for for MDSETTARGETS with FILENAMEs of "-"
  by defined MDSET.-.post & MDSET.-.suffixes
- Document the above
- Use the above appropriately in various Makefiles
- Be a be quieter when building these kernels
- Add .WAIT syncs so that multiple kernels aren't built in parallel, because
  the temporary filename is the same, and it also avoid hairy magic in
  syncing the targets generated from MDSET.${FILENAME}.suffixes with
  the master target for that ${FILENAME}
2002-04-14 01:41:24 +00:00
lukem 58e532b9cd - use Makefile.mdset to build md kernel and bootable image
- use ${RELINSTALL} instead of ${INSTALL} ...
2002-04-12 13:52:12 +00:00
lukem 33fb8521d4 Switch from "${DESTDIR}/usr/mdec/installboot" to "${INSTALLBOOT} -m ${MACHINE}"
so now at least that step is cross-buildable.
2002-04-03 06:38:26 +00:00
lukem f5064bd119 fix IMAGEDEPEND 2002-03-28 03:18:56 +00:00
lukem 57a7dc2329 convert to New Distrib World Order.
this should be able to be built as non-root now.

XXX: untested (hi simon! :), as it can't be cross built yet due to
elf2ecoff and installboot issues.
2002-03-12 06:26:34 +00:00
lukem 811d644d8f don't set the owner or group when installing into $RELEASEDIR 2002-02-09 13:56:48 +00:00
jmc 4d6ad24166 Convert to using ${MDSETIMAGE}.
Provide a default value for $MDSETIMAGE and pull in bsd.own.mk to have
it overriden as needed for cross/-current builds.
2001-10-21 23:23:19 +00:00
simonb 2abdec8d17 Add dummy dependall target, only install bootblocks once. 2001-03-24 15:31:23 +00:00
mhitch 4ecd975981 Change the disktype of the diskimage to what the kernel is looking for to
detect a 'miniroot' disklabel.  Booting from the diskimage will now get
the real disk geometry and adjust the incore disklabel parameters
accordingly.
Also revert back to using a prototype file - disklabel truncates the
disktype to 15 characters when using the disktab entry, but will use 16
characters when using the prototype file.
2000-11-10 19:06:17 +00:00
matt 8b35a1a9be need bsd.own.mk for KERNOBJDIR 2000-06-01 06:54:57 +00:00
sjg 1f724b9392 use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels. 2000-05-02 16:06:45 +00:00
simonb 67d216b128 Tidy up a little and make work.
Now uses like disktab files for disk labels.
2000-01-06 03:47:55 +00:00
simonb 1ee9b20834 Small disktab entries for the ramdisk and miniroot disk images. 2000-01-06 00:24:48 +00:00
simonb cd6ed6cd73 Split long line. 2000-01-04 01:20:23 +00:00
simonb 78ce8ea77d s/boot/boot.pmax/ 2000-01-03 21:59:12 +00:00
simonb 082034a93d Use the "echoimage" target.
Install the ecoff install kernel in the release directory.
1999-12-28 10:56:54 +00:00
simonb 12f4b8077a Remove diskimage.gz before trying to do gzip diskimage. 1999-10-18 01:35:17 +00:00
simonb 2f8ffb8914 Add compressed image to CLEANFILES 1999-05-06 20:50:13 +00:00
simonb 3434f6e05e Add dummy depend targets so that "make depend" doesn't bomb out. 1999-05-04 02:44:22 +00:00
simonb 3c8d976886 Install install kernel as install.gz not netbsd.gz. 1999-04-27 12:18:47 +00:00
simonb ae59152eea Oops, install both the install kernel and diskimage. 1999-04-27 12:14:00 +00:00
simonb 766f40edeb Add BINDIR and an install rule to install into ${RELEASEDIR}${BINDIR}. 1999-04-27 12:03:39 +00:00
simonb 1ba2319263 Gzip the diskimage. 1999-04-27 01:34:49 +00:00
simonb b3073fc684 Disklabel prototype for a 2MB diskimage based on the ramdisk filesystem. 1999-04-17 11:03:52 +00:00
simonb 6dfb452528 Fix incorrect pathname in previous. 1999-04-16 16:08:28 +00:00
simonb daa30e7063 After building a ramdisk kernel, build a small (currently 2MB) diskimage
suitable for dd'ing onto the start of a disk.

Duplicates some of the work done by the miniroot Makefiles and will
cleaned up and made MI soon.
1999-04-16 16:01:33 +00:00
simonb 39813aa161 Build an ELF kernel called netbsd instead of an a.out kernel called
netbsd.aout.
1999-04-05 06:17:44 +00:00
jonathan d4cce0d780 Make ramdisk and ne-tbootable ramdisk-based instkernel on pmax. 1998-12-05 07:33:13 +00:00