Commit Graph

125 Commits

Author SHA1 Message Date
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 8987947e49 convert to building with NDWO Makefile.tarfloppy.
alpha is now fully NDWO (well, at least, the stuff that's enabled in
distrib/alpha/Makefile)
2002-05-02 13:04:48 +00:00
lukem 3d5435227d convert instkernel/fdset into using NDWO Makefile.tarfloppy, which
allows UNPRIVED cross building of aforementioned directory
2002-04-30 15:08:44 +00:00
matt f9f502221e Use the correct name of the INSTALL kernel. 2002-04-26 17:30:00 +00:00
lukem 9e5598221a replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version 2002-04-26 15:50:21 +00:00
matt 570b8f5fd5 Use the right name for the install kernel. 2002-04-26 01:26:49 +00:00
lukem 3b19bdd9fe link mount_mfs to newfs 2002-04-13 13:37:48 +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 7573349ed7 use ${DISTRIBDIR} instead of ${_SRC_TOP_}/distrib 2002-04-12 02:07:15 +00:00
lukem fe5992eead convert to using distrib/common/Makefile.mdset 2002-04-11 15:34:52 +00:00
lukem 2637121712 tweak how distrib/Makefile.inc is pulled in 2002-04-10 15:34:59 +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
lukem 0b8463079e rejig a bit 2002-04-07 04:29:15 +00:00
lukem deffb66504 parselist.awk
- improve comments
- provide a general purpose variable replacement; replace contents of ${FOO}
  with ENVIRON["FOO"].
- deprecate @MACHINE@ and @MACHINE_ARCH@ in favour of using ${MACHINE}
  and ${MACHINE_ARCH} instead
- add errx() function; like err(), but doesn't print the line number
- invoke this script with various variables defined via PARSELISTENV

*/Makefile*
- use PARSELISTENV instead of POPULATEENV, and add variables like DESTDIR
- other minor tweaks

*/list*
- replace @MACHINE@ with ${MACHINE}
2002-03-14 22:26:08 +00:00
lukem 62aa4e74be don't need this any more 2002-03-07 23:53:44 +00:00
lukem dee3f84c6f remove now-unnecessary cruft 2002-03-07 23:52:48 +00:00
lukem ccfd870e0f convert to using the New Distrib World Order.
this directory can now be built UNPRIVED.
2002-03-07 23:51:48 +00:00
lukem 21e9386c5c remove some unnnecessary variable assignments, and use ${NM} instead of nm 2002-03-07 01:58:30 +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 f44b824188 Use ${PRINTOBJDIR}. 2002-03-05 19:53:19 +00:00
thorpej 318f0d0f20 Add barriers after ramdisk and instkernel, but allow fd-set and
cd-hd-tape to be built in parallel.
2002-02-11 07:32:54 +00:00
ross 0a4e099c15 stop specifying cylinders per group 2002-02-04 01:11:09 +00:00
ross 0537ea5213 simplify all vnd(4) names for vnconfig(8) and disklabel(8) as required
by recent libutil changes; it's nicer this way in any case
2001-12-09 00:37:38 +00:00
ross 0293291e61 + get mtree definition from bsd.sys.mk, for subtree make runs
+ change all disklabel and vnconfig instances to track libutil opendisk(3) mods
2001-12-09 00:32:51 +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
jmc a37907dc27 Add MTREE?= to add Makefiles and use when running mtree 2001-10-13 06:15:15 +00:00
enami 652855a0c7 Use symbol MTREECONF instead of MTREE to refer configuration file
to avoid conflicts.  Pointed out by chs@netbsd.org.
2001-10-10 05:13:51 +00:00
garbled 83f61a5891 Change all ocurrences of "crunchgen" to ${CRUNCHGEN} 2000-11-01 07:57:55 +00:00
jhawk fa355af084 Remove the kernel symbol files during a `make clean'. 2000-09-10 21:59:00 +00:00
jhawk 00058e57d8 For stripped kernels, run nm and save the output as
netbsd.KERNELNAME.symbols, and install in the release(7) tree.
2000-09-09 19:10:10 +00:00
jhawk a022cf9d37 Use
${MAKE}
instead of
  make
2000-08-30 23:51:46 +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 db755e7c76 sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)
2000-06-14 17:24:02 +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
thorpej 464b4e3de0 Need /etc/netconfig. 2000-06-07 19:54:50 +00:00
mycroft 0033b70c27 Put the ramdisk kernel in the release area. 2000-05-07 18:21:17 +00:00
sjg 1f724b9392 use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels. 2000-05-02 16:06:45 +00:00
itojun b20e217bb8 use x_ping for ping, remove reference to -lipsec.
(sorry if you have specific need for "real" ping)
2000-02-03 19:25:16 +00:00
tsutsui a9d4a72b25 Revert STRIPPROG -> STRIP 2000-02-01 05:02:31 +00:00
tsutsui 1bf52b391d rename (revert) memory disk filename /dev/mdX -> /dev/mdXa 2000-01-21 12:32:54 +00:00
tsutsui bdfb1f79c9 STRIP -> STRIPPROG 2000-01-19 16:40:10 +00:00
tsutsui e6824489b4 Fix root device name md0a -> md0 2000-01-10 05:03:24 +00:00
simonb 2e3036aadb Remove update from the miniroot lists. 1999-11-23 23:16:02 +00:00
simonb 71efc75854 Don't start update. 1999-11-23 22:43:20 +00:00
simonb 1b411c7a86 Remove update from all ramdisks. 1999-11-23 22:14:22 +00:00
ross ac269a8a7e Make the kernel selectable and the strip action optional. 1999-09-02 23:39:43 +00:00
ross 57291ce60a -lbz2 -lipsec 1999-08-08 01:08:11 +00:00
christos f74ef2f90d increase ramdisk size 1999-06-27 22:37:21 +00:00
cgd 7aa73e55cb after checking and setting DONEPROFILE, export it so that children of the
shell (e.g.  programs and shells invoked via sysinst) don't try to run
sysinst again.  Fixes PR#7805.
1999-06-26 06:12:49 +00:00
nathanw 914e91ea43 'make clean' should also blow away netbsd.gz. 1999-06-25 22:32:40 +00:00
bouyer 90d35fd201 Generate the /dist/obsolete_* files used by sysinst from the obsolete lists
in sets/lists/*. The sript sets/makeobsolete concatenates the mi and md
obsolete list files all or a specified set and dumps it in a file, in a
subdir specified on the command line (inspired from the maketar and makeflist
files).
Use this for all the sysinst-based installs.
Untested for non-i386, and the md obsolete list may be wrong or incomplete.
Each postmaster is supposed to check this on his port.
1999-06-05 20:17:38 +00:00
tron 2f3417d997 Fix listfiles to handle object directories. Patches supplied by
Izumi Tsutsui in PR misc/7628.
1999-05-23 07:31:19 +00:00
veego dfa799a037 Sync with the recent crunchgen changes.
- Remove *.cro files and not the obsoleted *.lo files.

From Bill Studenmund commit message:
> 3) Generate .cro files rather than .lo files. .lo now is used for "local
> objects" - obj's for the host machine not the target machine.
1999-05-11 20:46:58 +00:00
veego 597558f2fc Add dummy targets for depend, includes, lint, regress and tags. 1999-05-11 20:08:01 +00:00
ross 6f951a52eb Import INSTALL.more a better way. 1999-04-29 18:57:31 +00:00
ross a7158cb71c A note enumerating the final subtree build targets. 1999-04-29 02:32:16 +00:00
ross cdc2780d60 term type, sun -> vt100 1999-04-29 01:23:53 +00:00
cgd 884b75e9f3 adjust for changes in alpha /usr/mdec files. 1999-04-07 06:47:49 +00:00
ross 47b20698b5 +pax, +less, +swapctl, rm /etc/*pwd.db, synch with i386.
move the machine-dependent links and progs to separate lines, to purify
diffs with i386
1999-03-22 08:52:21 +00:00
ross bde3024a9b Make vnd image bigger. 1999-03-22 08:44:57 +00:00
wrstuden ad140b77ea Modify all calls to newfs in ramdisk/miniroot creation to include
the needed endianism of the architecture. One step towards cross-building
releases.

Not touched are newfs calls in install scripts as they run on the desired
machine and thus default correctly.
1999-03-04 20:32:18 +00:00
garbled 851ee9e397 1) Remove all vestiges of tar from src/distrib. Use pax and appropriate
commandlines for all tar operations.  (work supplied by Matt Green)
2) Update arch/*/md.c to deal with new sysinst/run.c.  Special case
anything that needs to do a redirect or a pipe.
3) #if 0 some unused code in target.c. This code will need to be updated,
or special cased with do_system.

Big thank you to Matt for all his work on this.
1999-01-25 23:34:20 +00:00
garbled c3262a3841 Use pax instead of tar on the ramdisk bins.. create appropriate link for
tar to get tar-like fonctionality.
1999-01-21 07:52:00 +00:00
jonathan 7c7a3d90e5 Dead. 1998-11-28 02:53:33 +00:00
jonathan aaa44058ad Use MI versions of the dot.commonutils and dot.instutils helper
scripts for ramdisk-based script installer (even where commented out).
1998-11-28 02:49:44 +00:00
ross 49ac83490a Fix bugs in the way the instkernel is compressed and in the prerequisite
names.
1998-10-29 00:37:06 +00:00
ross 9219052313 More pieces of new integrated alpha installer. 1998-10-16 00:45:23 +00:00
ross 49039732e8 Components to new NetBSD/alpha integrated installer. 1998-10-16 00:43:02 +00:00
ross 0f58b07160 Utilities in (script) source form for the ramdisk. The old install scripts
are provided as well as the new sysinst program.
1998-10-16 00:40:54 +00:00
ross 4d7a2efdc4 This is now the main install directory for the new integrated sysinst
boot. Yes, NetBSD/alpha finally gets sysinst on all media types.
The new boot makes a single ramdisk which is then divided via ustarfs
onto a two-floppy set, and a second unified image for CD's, HD's, or
tapes is also created.
1998-10-16 00:39:38 +00:00
lukem 06b0ffe181 distclean is a synonym for cleandir 1998-09-05 14:46:13 +00:00
ross a03f8a588d Add clean and cleandir targets. 1998-05-03 16:42:37 +00:00
thorpej 75367b2996 Add tset(1). 1998-02-01 02:16:43 +00:00
thorpej 508eb6d6ba Add support for building an "install kernel", which contains a ramdisk
in its belly.  This differs from the floppy kernel in that it uses the
sysinst installation tool (and thus requires more space; the ramdisk is
3M).

This is useful for netbooting and installing or for placing on a CD-ROM.
1998-02-01 01:58:47 +00:00