Commit Graph

127 Commits

Author SHA1 Message Date
lukem a250e57c96 Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
2003-01-03 15:34:30 +00:00
lukem d9aa9519e8 Invoke ${PAX} with '-O' so that various errors don't hang the make
or the command with an interactive question.  (This also prevents
weird problems if a directory element of '-f path' is missing and
'make -j N' is being used).
2002-12-21 15:54:48 +00:00
lukem c7ad6e6337 Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX". 2002-11-18 12:39:43 +00:00
isaki 302149111d Place installation tools in RELEASEDIR/installation/misc.
- gzip.x, gz124x5f.lzh
 - rawrite.{x,doc,lzh}
2002-11-03 02:13:20 +00:00
isaki e648085d77 Increase the image size, to build. 2002-10-27 08:00:26 +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
lukem ed56ec3a05 Rework how SMALLPROG was being used and how INET6 support was enabled.
There's two variables added to Makefile.crunch:

    SMALLPROG		If 1, add SMALLPROG=1 to CRUNCHENV.  [default: 1]
			This can be used by various Makefiles to
			determine if a `small' version of the program
			is required.

    SMALLPROG_INET6	If 1 and SMALLPROG == 1, add SMALLPROG_INET6=1
			to CRUNCHENV.  [default: 0]
			This can be used by various Makefiles to
			determine if the `small' version has INET6
			support enabled.

Only enable SMALLPROG_INET6 for programs on the ramdisks that have INET6 in
the appropriate kernel, and cleanup INET6 setting.
(Note: this means that sysinst won't get INET6 support if the kernel
it's running on doesn't have it).

This change saves a fair bit of space on various install images
(including i386 ramdisk-{ps2,small,tiny}) that didn't have INET6 in
the kernel but were unconditionally getting INET6 support in their tools.
2002-10-17 02:05:35 +00:00
isaki f208681961 Correct CLEANFILES. 2002-08-18 14:43:16 +00:00
isaki 25a181f53b Kernel must be gzipped to boot.
Correct CLEANFILES.

Reviewed by lukem@netbsd.org
2002-08-18 14:43:00 +00:00
isaki 5a9aa259f6 Add missing /dev/sram. it is used by memswitch(8). 2002-06-15 11:20:54 +00:00
isaki 4aa2c0e5c6 Put secondary boot loader correctly.
patch from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
2002-05-19 08:12:05 +00:00
lukem 18da51172f - reorganise to be more consistent with other distrib/* directories
(no need for a "common" subdir which contains stuff only really
  referenced by one other directory)
- use Makefile.tarfloppy instead of local code to build floppies
- use .WAIT in the top-level Makefile appropriately
- install inst.fs directly from ramdisk/Makefile rather than providing
  separate inst/Makefile
2002-05-13 01:04:18 +00:00
lukem 3201da47d1 remove unnecessary stuff 2002-05-12 09:47:06 +00:00
isaki 8043fd5e17 This is obsoleted by MI distrib. 2002-05-08 14:18:48 +00:00
isaki 7f9ea1c2f8 Rewrite with MI distrib. based on Minoura-san's work.
it makes x68k port cross buildable.
2002-05-07 14:08:30 +00:00
isaki 7478065a57 Move common files into floppies/common directory.
bootfloppy-common/Makefile.inc    -> common/Makefile.bootfloppy
 instkernel-common/Makefile.inc    -> common/Makefile.instkernel
 ramdisk-common/Makefile.inc       -> common/Makefile.ramdisk
 ramdisk-common/*                  -> common/*
2002-05-07 13:55:40 +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
isaki 12c2ab4d69 use ${PWD_MKDB} instead of pwd_mkdb. 2002-04-28 11:29:29 +00:00
isaki 7b175df846 Add 'newdisk' entry dropped at previous commit. 2002-04-28 11:28:44 +00:00
isaki dada32dfc5 Fix path. 2002-04-28 07:31:54 +00:00
lukem 5bf6e9db83 use RELINSTALL 2002-04-26 15:05:29 +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 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 044bc4a6c1 replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc 2002-03-06 12:27:08 +00:00
minoura 49a2f3f4c6 VND_CDEV -> VND.
Properly write disklabel.
2002-01-07 04:47:10 +00:00
minoura a54d2c0d9d .include <bsd.prog.mk> to use DESTDIR/usr/include. 2001-12-30 04:08:28 +00:00
minoura a05e3fce0a Overhaul installation system.
- Use new boot system.  Bootfloppies now use ustarfs.
 - Split instkernel.* directory from bootfloppy.*.
 - Adjust ramdisk size.
 - others.
2-floppy installation system cannot be compiled due to size bloat.
Disabled temporarily (?).
2001-12-07 06:57:49 +00:00
tv 5489b30b60 ${MAKE} print-objdir -> ${PRINTOBJDIR} 2001-11-14 00:58: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
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
nsmrtks 4a74baff29 include bsd.prog.mk for cleandir target 2001-05-09 16:28:10 +00:00
wiz b1e99bd2a5 make -> ${MAKE}
Noted by Olaf Seibert on current-users.
2001-04-11 17:32:57 +00:00
minoura 5ffce5f735 Do not use bsd.prog.mk. 2001-04-08 03:28:44 +00:00
minoura 65f703caf1 Correct typo. 2001-04-01 13:09:37 +00:00
minoura fb67decf9c Change the kernel name from netbsdsi(.gz) to netbsd(.gz). 2000-11-29 08:28:55 +00:00
minoura 0cab28b0fc Reorganize (again) the installation system.
- Remove historical `script' installer, which was provided for
  4MB RAM systems.
 - Instead we provide `floppy-root' installer, which is composed
  of 2 floppies just like the installation system used in the netbsd-1-2
  days; one floppy contains (GENERIC) kernel and the other contains
  the miniroot.
 - The miniroots for both `ramdisk-root' installation system and
  `floppy-root' installation system are identical.
2000-11-28 03:03:26 +00:00
minoura 532d121692 Now that mount knows everything, do not link mount_* with ramdiskbin.
This might be a temporary fix if the traditional mount (possiblly
built in distrib/utils/x_mount?) turned out more space saver.
2000-11-28 02:46:13 +00:00
garbled 83f61a5891 Change all ocurrences of "crunchgen" to ${CRUNCHGEN} 2000-11-01 07:57:55 +00:00
minoura c331228c46 Remove /kern, which is not any longer needed. 2000-09-15 01:21:49 +00:00
minoura a78010b7b8 Adjust ramdisk sizes. 2000-09-12 17:07:44 +00:00
minoura ff60191d5e Pull common files into newly created ramdisk-common directory. 2000-09-12 16:42:50 +00:00
minoura 8199d05ce7 Reduce ramdisk size by using hacked commands in distrib/utils. 2000-09-12 15:40:00 +00:00
minoura b53cfef01f Adjust ramdisk size. 2000-09-06 14:29:41 +00:00
minoura 256d7e4d2e Add dmesg.
Apparently I forgot to do this in the previous commits.
2000-09-06 14:24:30 +00:00
jhawk a022cf9d37 Use
${MAKE}
instead of
  make
2000-08-30 23:51:46 +00:00
minoura 4557a2e890 Reduce ramdisk size (again!). 2000-07-05 16:13:28 +00:00
minoura a5b1f99a17 Missing ;;. 2000-07-04 14:07:43 +00:00
minoura f4876c3dff Use more and zlib version of gzip-clone, and reduce ramdisk size.
Still work in progress...
2000-06-22 14:24:09 +00:00