Commit Graph

77 Commits

Author SHA1 Message Date
jdolecek 6598181593 use ${.CURDIR} in the 'release' target; this may be necessary
in some configurations
2002-05-05 15:05:33 +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
gmcgarry 8212c0741f Use INSTALLATION_DIRS for directory creation. 2002-04-22 03:37:12 +00:00
gmcgarry 377968bc08 Make all devices, bump ramdisk size, and fiddle with inode density. 2002-04-20 05:01:58 +00:00
gmcgarry ad0e3bf651 Create ${RELEASEDIR}/installation/misc before installing into it. 2002-04-14 20:48:16 +00:00
lukem 8f603e224b consistency cleanup 2002-04-13 13:42:57 +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 983821fd73 - replace image_md_post: target with IMAGE_MD_POST variable, and use
that after building ${IMAGE}
- use ${IMAGEBUILT} to ensure that IMAGE_MD_POST is only run if IMAGE changes
2002-04-12 03:21:09 +00:00
lukem fe5992eead convert to using distrib/common/Makefile.mdset 2002-04-11 15:34:52 +00:00
lukem a4f3c97f45 use RELINSTALL from ../Makefile.inc 2002-04-11 08:49:48 +00:00
lukem 6d7992b361 distrib/** consistency tweaks 2002-04-11 05:30:12 +00:00
lukem 630aa9ace1 gratuitous whitespace frobbery 2002-04-11 05:20:22 +00:00
lukem e5ef62ef2b - add specific special entry for sys/arch/${MACHINE}/stand/installboot
for ports that don't yet use the MI usr.sbin/installboot
- remove now-unnecessary srcdir for sys/arch/${MACHINE}/stand
2002-04-09 00:31:38 +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
lukem 484f8db2eb - Be consistent how libhack is used: If extra HACKOBJS (e.g., gethost.o) are
required, define them before pulling in libhack/Makefile.inc so that the
  dependencies work correctly.
- Other minor cleanups
2002-03-28 04:33:21 +00:00
lukem 25c4cc30b2 Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines.  Add gethost.o back to Really Small media which
appears to need the space savings.
2002-03-25 07:43:39 +00:00
lukem 9c584117ff remove duplicate IMAGEDEPENDS entry 2002-03-24 22:56:58 +00:00
gmcgarry 13b3d79b16 Install HP-IB.geometry as part of the release. 2002-03-17 05:41:58 +00:00
gmcgarry 5b10661ba6 Warn than the INSTALL kernel has been installed. 2002-03-17 05:41:10 +00:00
gmcgarry ec44419ac0 Use the INSTALL kernel, rather than GENERIC kernel 2002-03-17 05:39:59 +00:00
gmcgarry 4681a321e2 .WAIT between targets. 2002-03-15 06:40:42 +00:00
gmcgarry 68616a4ba3 Increase number of inodes 2002-03-14 23:17:00 +00:00
gmcgarry 56a097150f Use INSTALL kernel in miniroot; add image_md_post target 2002-03-14 04:51:20 +00:00
lukem 2383085e6e cosmetic consistency tweak 2002-03-12 12:52:52 +00:00
lukem bea10a7dc8 consistency cleanups 2002-03-12 06:39:18 +00:00
lukem 031fce2675 collapse some lines together 2002-03-12 06:28:32 +00:00
lukem 29173b1fb0 add more IMAGEDEPENDS, and some more cosmetic tweaks 2002-03-06 13:17:01 +00:00
lukem 0a7bf05cec clarify why we avoid gethost.o from libhack 2002-03-06 13:09:34 +00:00
lukem a8025d95ae Commit work-in-progess rototill of distrib/miniroot and associated machine
dependent files:

- Use infrastructure from distrib/common to build file system images with
  crunchgen-ed programs from a list file.

- Non root ("UNPRIVED") builds from a read-only source tree are possible,
  as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
  common/makedev2spec.awk, etc.

- Cross builds should be possible, except that some ports need cross-compile
  host tool versions of installboot and any appropriate host disk labelling
  tools.
	XXX: pmax, sparc and vax need fixing for this!

- This code has NOT YET BEEN TESTED on most of the ports.
  It should work, but it is extremely likely that the file system
  parameters may need tweaking to get things to fit.
  See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
  If assistance is required, please ask!
2002-03-06 12:04:48 +00:00
lukem 23a0a8fb2e replace ${_SRC_TOP_}/distrib with ${DISTRIBDIR} 2002-03-06 04:29:35 +00:00
thorpej f44b824188 Use ${PRINTOBJDIR}. 2002-03-05 19:53:19 +00:00
lukem a771f7472b remove USE_SYSINST goop that was obviously copied from the i386 stuff
and unconditionally add the sysinst list to LISTS; the goop is only in
the i386 stuff because that has some ramdisks which don't use sysinst,
where here on the hp300 it's not an optional item :)
2002-02-24 09:57:18 +00:00
gmcgarry a530714247 Trim the ramdisk down even smaller. Include the device files on
the ramdisk, since we don't have enough memory to dynamically build
/dev on mfs.
2002-02-23 22:02:08 +00:00
gmcgarry b85e9644ab Don't use tset, since it's not on the ramdisk. Might have to rethink
this for serial consoles.
2002-02-23 22:00:28 +00:00
gmcgarry c48a398cdf Make filesystem big endian. 2002-02-13 19:25:26 +00:00
gmcgarry 461d55a6e1 Make and install the new ramdisk installation media. 2002-02-13 06:07:15 +00:00
gmcgarry cb98d7284d Update for new ramdisk build infrastructure. 2002-02-13 06:01:36 +00:00
gmcgarry e39f206107 Don't need this file with new ramdisk build infrastructure. 2002-02-13 05:34:39 +00:00
gmcgarry 6a11dfc946 List for ramdisk. Bump ramdisk size to 2MB. 2002-02-13 05:31:18 +00:00
gmcgarry b0171c39d1 Don't need this now. 2002-02-13 05:30:16 +00:00
gmcgarry 2a8b7cca5b Use the new ramdisk build infrastructure. 2002-02-13 05:13:24 +00:00
gmcgarry 0007bec6dc Skeleton for ramdisk-style installation media. 2002-02-10 01:22:54 +00:00
cgd c85d2eb42b sweep of my licenses for consistency. (no functional changes) These
files have copyright held by people in addition to myself.  (I did the
original work, they copied it, enhanced it, and added their copyright
to the derivative work.)  Their approval has been given re: the license
change.
2000-06-14 22:52:37 +00:00
cgd d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
sjg 1f724b9392 use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels. 2000-05-02 16:06:45 +00:00
simonb 71efc75854 Don't start update. 1999-11-23 22:43:20 +00:00