Commit Graph

85 Commits

Author SHA1 Message Date
gmcgarry da4e54bda5 More inodes for ramdisk 2002-11-11 05:07:09 +00:00
lukem ea0637c5af Now that usr.bin/ftp/Makefile supports SMALLPROG and SMALLPROG_INET6,
we don't need distrib/utils/x_ftp anymore...
2002-10-17 06:38:15 +00:00
mycroft cfedc10218 typo: PROC -> PROG 2002-09-14 02:00:25 +00:00
gmcgarry 6e62e5cefa Add tset to ramdisk. Use it to set TERM before running sysinst. 2002-08-04 01:21:48 +00:00
lukem 1cf21a4eeb as COPYDIR copies files with 444 permissions, we need to explicitly
add MTREE entries to change the permissions of executable programs
such as usr/mdec/installboot and usr/mdec/binstall
2002-06-12 22:59:31 +00:00
lukem 0165e1202a As parselist.awk now sets COPY-ied files explicitly to 444, ensure
executable files are 555.
2002-06-05 11:22:04 +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 e914dad622 wrap line 2002-05-07 03:29:43 +00:00
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