Commit Graph

24 Commits

Author SHA1 Message Date
thorpej bf3979a00a Use objcopy to a.out'ify the install kernel image. 2002-11-23 16:02:55 +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 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
lukem 9e5598221a replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version 2002-04-26 15:50:21 +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 8f603e224b consistency cleanup 2002-04-13 13:42:57 +00:00
lukem c371957275 add TARGETS+=release 2002-04-13 13:35:21 +00:00
lukem 0dfdd76021 Makefile.mdset:
replace
		TARGETS = KERNEL IMAGE [...]
	with
		MDTARGETS = KERNEL IMAGE FILENAME [...]
	If FILENAME is "-", use "netbsd.${KERNEL}" as the target filename

The rest:
	Update for new MDTARGETS syntax.  In some cases, the kernel
	name from the "old" method will be used to override the default.
2002-04-12 13:39:43 +00:00
lukem 627174f862 - don't pull in <bsd.prog.mk> in Makefile.mdset; do that in the caller instead
- renamed optional post-strip action variable from ${KERNEL}.post to
  netbsd.${KERNEL}.post
2002-04-12 05:33:58 +00:00
lukem 261d1ba438 alpha sort some entries 2002-04-12 03:51:31 +00:00
lukem 7bd72f6cca minor tweak 2002-04-12 00:15:26 +00:00
lukem ccbd36dc6a use TARGETS+=release and do the installs in the subdirs 2002-04-12 00:13:17 +00:00
lukem a1c2476158 convert to distrib/common/Makefile.mdset 2002-04-11 15:40:01 +00:00
tsutsui ebf5fffe65 Set DBG=-Os for libhack. 2002-04-06 18:16:09 +00:00
lukem e0f433e649 ensure all sysinst-using makefs generated images have at least 15 inodes free,
and be consistent how MAKEFS_FLAGS is defined.
2002-04-01 12:16:11 +00:00
thorpej 4e2f3e20f5 Give the ramdisk some free inodes so that sysinst can create temp
files.
2002-03-31 03:04:49 +00:00
thorpej 6395630616 * mount_mfs is a link to newfs
* Add tset
2002-03-30 18:18:19 +00:00
thorpej 5c1d6ea346 Fix shark release building targets. 2002-03-30 06:55:17 +00:00
lukem a8111eb0e8 remove unused stuff 2002-03-30 00:36:29 +00:00
lukem 01fbc0746a convert to new distrib world order. make UNPRIVED= should now work.
(xxx; untested)
2002-03-30 00:35:57 +00:00
thorpej 1d1d02da94 Make sure <bsd.own.mk> is pulled in before ${PRINTOBJDIR} is used. 2002-03-05 21:23:28 +00:00
thorpej 0d1f6a757d Use ${PRINTOBJDIR}. 2002-03-05 21:16:51 +00:00
thorpej f0c87a0e2d First cut at instkernel for NetBSD/shark. Based on NetBSD/alpha
instkernel.
2002-02-11 17:49:40 +00:00