Commit Graph

30 Commits

Author SHA1 Message Date
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
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 e80666c104 cleanup makefiles to NNDWO 2002-04-12 02:19:30 +00:00
tsutsui 501d06334d Add -mstring to DBG to save some more bytes. 2002-04-09 15:28:50 +00:00
tsutsui b3c812e3fd Set DBG="-Os -mmultiple" and also pass it to crunchgen via CRUNCHGEN_FLAGS. 2002-04-06 18:18:57 +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
tsutsui 15691979de Switch to New Distrib World Order. 2002-03-30 07:30:37 +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
tsutsui bfb4c00da9 NOLIBHACKOPENDIR is gone. 2002-02-04 11:13:33 +00:00
jmc f8565571ef Make sure clean rule cleans out all of the ramdisk stuff. Also include
bsd.prog.mk so libhack builds.
2001-11-20 05:45:26 +00:00
jmc 5273cb3864 Change ${SIZE} to ${DISKSIZE} to avoid conflicts with vars used with new
toolchain builds.
2001-10-21 23:18:14 +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
jmc 8a11e4797f Include bsd.sys.mk so proper DESTDIR processing gets done for libhack.o builds. 2001-09-25 06:00:34 +00:00
tsubai 5b827e1fa6 Use all of libhack (but opendir.c) to fit 1.4M floppy. 2001-07-27 11:37:58 +00:00
tsubai ceb1024f49 Use libhack again. 2000-11-27 15:11:36 +00:00
garbled 83f61a5891 Change all ocurrences of "crunchgen" to ${CRUNCHGEN} 2000-11-01 07:57:55 +00:00
jhawk a022cf9d37 Use
${MAKE}
instead of
  make
2000-08-30 23:51:46 +00:00
tsubai 4c37b0db76 Remove kernfs, add dmesg link.
Compile with -Os -mmultiple.
2000-07-24 09:15:21 +00:00
sjg 1f724b9392 use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels. 2000-05-02 16:06:45 +00:00
mycroft 45596efc9f Make the ram disk larger, so it fits. 1999-11-08 23:51:29 +00:00
wrstuden 61e13953b2 Use -f ${DESTDIR}/etc/disktab to find the disktab, so that we can build
-current floppies from 1.4.
1999-10-14 17:46:26 +00:00
tsubai 14b3666e9a Change md size to 2MB.
Don't use libhack temporarily.
1999-08-29 08:45:27 +00:00
tsubai 2f247ac8dd Make ramdiskbin smaller to fit into ramdisk. 1999-07-08 16:36:15 +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
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
tsubai 2e6f16f3b8 Change image size to 1.5MB. 1999-01-13 10:54:16 +00:00
lukem 06b0ffe181 distclean is a synonym for cleandir 1998-09-05 14:46:13 +00:00
tsubai e309aa6846 macppc ramdisk tools. 1998-07-03 11:20:08 +00:00