Home | History | Annotate | Download | only in ramdisk
History log of /src/distrib/macppc/floppies/ramdisk/Makefile
RevisionDateAuthorComments
 1.55  10-Feb-2025  christos sync with bump
 1.54  24-Jul-2023  rin branches: 1.54.2;
macppc/floppies: Use x_ variants of disklabel, fsck_ffs, and newfs.
Fix ramdisk overflow with clang.

- For fsck_ffs(8) and newfs(8), Apple UFS is still supported.
- 2.88MB of ramdisk size can be bumped if really required.
 1.53  25-May-2021  martin Provide support to build 32bit crunched ramdisks and use that for
macppc64. With help from rin.
 1.52  05-Apr-2020  sevan branches: 1.52.2;
Support the use of DHCP in the install environment
 1.51  29-Dec-2019  christos 1. Remove all the special handling of variables (-d -p -P -s -S) that
were dealing with DBG (-d) LDSTATIC/NOPIE (-p), and the rest with
disabling/enabling sanitizers.
2. Use emalloc/estrdup for all the allocators instead of only some cases.
3. Add -V varspec which passes variables on the command line (as DBG
and LDSTATIC used to be passed before) instead of appending them
to the on-the-fly Makefile using -v varspec.
4. Change the distrib and rescue Makefiles to use -V instead of the removed
flags.

The motivation of this is to make variable handling consistent, less magical,
and remove the need for changing crunchgen each time we want to add disabling
an option by default.

(as proposed in tech-toolchain)
 1.50  07-Jan-2019  scole increase IMAGESIZE slightly to avoid running out of space when doing some sysinst options
 1.49  12-Nov-2018  scole install kernel for ppc601 floppies and iso
 1.48  24-Jan-2017  christos branches: 1.48.10; 1.48.12;
+= for MAKEFS_FLAGS
 1.47  10-Aug-2014  joerg branches: 1.47.6; 1.47.10;
Bump the ramdisk size on macppc and sandpoint somewhat to compensate for
larger code with LLVM.
 1.46  08-Aug-2014  joerg Don't set -mmultiple or -mno-string for PowerPC, the difference is too
small to really matter and it sometimes even increases the size.
 1.45  07-Aug-2014  gdt Get macppc to build again by adjusting sizes.

In addition to the ramdisk size, it is necessary to have matching MD
sizes. Increase the MD sizes, and leave a comment near the ramdisk
size to ease future changes.
 1.44  07-Aug-2014  gdt I need 2244k for src/distrib/macppc/floppies/ramdisk, rather than
2240k. My build is normal, with a few uncommitted changes that really
shouldn't change the install situation. Because 2240k isn't near a
magic boundary, just increase it a hair.
 1.43  06-Aug-2014  martin Bump ramdisksize even slightly more
 1.42  05-Aug-2014  martin Bump ramdisk size
 1.41  04-Aug-2014  martin Slightly extend ramdisk size
 1.40  23-Mar-2012  he branches: 1.40.2; 1.40.10;
Bump the ramdisk size with 100KB so that the contents fits again.
 1.39  24-Dec-2010  aymeric branches: 1.39.6;
Bump ramdisk size by 64K. This allows release builds to finish on macppc.
 1.38  11-Feb-2010  roy Remove terminfo.db as it's now embedded in libterminfo.
 1.37  05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.36  24-Sep-2009  he Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBB}/common/termcap. Hi, abs@!
 1.35  20-Sep-2009  abs Ten identical list.inet6 files, or one common/list.inet6?
Not a difficult choice.
 1.34  20-Sep-2009  abs ${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
 1.33  25-Jan-2009  abs Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions
 1.32  10-May-2007  dogcow branches: 1.32.12;
Since /etc/services has gotten rather large, use a minimal one for install
kernels. (mount_nfs is notably the only binary that doesn't gracefully deal
with the lack of an /etc/services file, it appears.)
 1.31  18-Jan-2005  lukem Only use ping6 and rtsol if ${USE_INET6} != "no".
Part of PR 28994.
 1.30  17-Oct-2002  lukem 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.
 1.29  02-May-2002  lukem 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}
 1.28  26-Apr-2002  lukem replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.27  12-Apr-2002  lukem cleanup makefiles to NNDWO
 1.26  09-Apr-2002  tsutsui Add -mstring to DBG to save some more bytes.
 1.25  06-Apr-2002  tsutsui Set DBG="-Os -mmultiple" and also pass it to crunchgen via CRUNCHGEN_FLAGS.
 1.24  01-Apr-2002  lukem ensure all sysinst-using makefs generated images have at least 15 inodes free,
and be consistent how MAKEFS_FLAGS is defined.
 1.23  30-Mar-2002  tsutsui Switch to New Distrib World Order.
 1.22  28-Mar-2002  lukem - 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
 1.21  04-Feb-2002  tsutsui NOLIBHACKOPENDIR is gone.
 1.20  20-Nov-2001  jmc Make sure clean rule cleans out all of the ramdisk stuff. Also include
bsd.prog.mk so libhack builds.
 1.19  21-Oct-2001  jmc Change ${SIZE} to ${DISKSIZE} to avoid conflicts with vars used with new
toolchain builds.
 1.18  13-Oct-2001  jmc Add MTREE?= to add Makefiles and use when running mtree
 1.17  10-Oct-2001  enami Use symbol MTREECONF instead of MTREE to refer configuration file
to avoid conflicts. Pointed out by chs@netbsd.org.
 1.16  25-Sep-2001  jmc Include bsd.sys.mk so proper DESTDIR processing gets done for libhack.o builds.
 1.15  27-Jul-2001  tsubai Use all of libhack (but opendir.c) to fit 1.4M floppy.
 1.14  27-Nov-2000  tsubai Use libhack again.
 1.13  01-Nov-2000  garbled Change all ocurrences of "crunchgen" to ${CRUNCHGEN}
 1.12  30-Aug-2000  jhawk Use
${MAKE}
instead of
make
 1.11  24-Jul-2000  tsubai Remove kernfs, add dmesg link.
Compile with -Os -mmultiple.
 1.10  02-May-2000  sjg branches: 1.10.4;
use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
 1.9  08-Nov-1999  mycroft branches: 1.9.2;
Make the ram disk larger, so it fits.
 1.8  14-Oct-1999  wrstuden Use -f ${DESTDIR}/etc/disktab to find the disktab, so that we can build
-current floppies from 1.4.
 1.7  29-Aug-1999  tsubai branches: 1.7.2;
Change md size to 2MB.
Don't use libhack temporarily.
 1.6  08-Jul-1999  tsubai Make ramdiskbin smaller to fit into ramdisk.
 1.5  11-May-1999  veego 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.
 1.4  04-Mar-1999  wrstuden branches: 1.4.2;
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.
 1.3  13-Jan-1999  tsubai Change image size to 1.5MB.
 1.2  05-Sep-1998  lukem distclean is a synonym for cleandir
 1.1  03-Jul-1998  tsubai macppc ramdisk tools.
 1.4.2.4  03-Jun-2000  he Apply patch (requested by he):
Don't rely on /etc/disktab, instead construct a disktab on
the fly based on numbers supplied here.
 1.4.2.3  01-Mar-2000  he Apply patch (requested by toddpw):
Support the ``release'' target.
 1.4.2.2  23-Feb-2000  he Apply patch (requested by he):
Increase miniroot size and permit a DNS resolver in on the install
floppy.
 1.4.2.1  22-Feb-2000  he Apply patch (requested by he and tsubai):
Add NOLIBHACKOPENDIR=1 so that libhack's opendir() does not get
built (causes linker conflict).
 1.7.2.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.9.2.2  08-Nov-1999  mycroft Make the ram disk larger, so it fits.
 1.9.2.1  08-Nov-1999  mycroft file Makefile was added on branch comdex-fall-1999 on 1999-11-08 23:51:31 +0000
 1.10.4.3  26-Apr-2002  he Apply patch (requested by briggs):
Reduce the number of HACKOBJS used.
 1.10.4.2  25-Mar-2002  he Apply patch (requested by he):
Introduce dependency between ramdisk/miniroot construction and
osrelease.sh, to better support UPDATE builds of releases.
 1.10.4.1  02-May-2001  he Pull up revision 1.14 (via patch, requested by tsubai):
Use libhack to make the image fit on 1.44M floppy.
 1.32.12.1  05-Oct-2008  mjf Sync with HEAD.
 1.39.6.1  17-Apr-2012  yamt sync with head
 1.40.10.1  10-Aug-2014  tls Rebase.
 1.40.2.1  19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.47.10.1  21-Apr-2017  bouyer Sync with HEAD
 1.47.6.1  20-Mar-2017  pgoyette Sync with HEAD
 1.48.12.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.48.12.1  10-Jun-2019  christos Sync with HEAD
 1.48.10.2  18-Jan-2019  pgoyette Synch with HEAD
 1.48.10.1  26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.52.2.1  31-May-2021  cjep sync with head
 1.54.2.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed