Home | History | Annotate | Download | only in ramdisk
History log of /src/distrib/newsmips/floppies/ramdisk/Makefile
RevisionDateAuthorComments
 1.36  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.35  07-Feb-2019  mrg bump ramdisk sizes to cope with GCC 7 bloat.
 1.34  18-Jul-2017  christos branches: 1.34.4;
bump
 1.33  24-Jan-2017  christos += for MAKEFS_FLAGS
 1.32  10-Aug-2014  riz branches: 1.32.6; 1.32.10;
Bump the ramdisk size; the longer paths on the build cluster are
likely enough to put this over the edge.
 1.31  11-Feb-2010  roy branches: 1.31.12;
Remove terminfo.db as it's now embedded in libterminfo.
 1.30  05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.29  24-Sep-2009  he Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBB}/common/termcap. Hi, abs@!
 1.28  20-Sep-2009  abs ${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
 1.27  25-Jan-2009  abs Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions
 1.26  10-May-2007  dogcow branches: 1.26.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.25  01-Feb-2003  tsutsui Remove "-Wa,-xgot" hack from DBG flag for broken objcopy-crunchide
that has been fixed by simonb.
 1.24  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.23  26-Apr-2002  lukem replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.22  23-Apr-2002  tv The "objcopy" based crunchide method has a problem on MIPS; it turns global
symbols into locals, but relocs are left in place (rather than attempting
to resolve-in-place with "ld -r", even with "-Bsymbolic").

Standard MIPS code will generate CALL16 relocs for function calls, but
the linker forbids such relocs from being used to call local symbols (such
as those turned "local" by objcopy). So, rather than battle the toolchain
uphill, work around it for the moment by forcing 32-bit GOT references with
the assembler option "-xgot".

This will be fixed in a more clean manner in the future.
 1.21  14-Apr-2002  tsutsui Use ${_SRC_TOP_} instead of ${CURDIR}/../../../
 1.20  14-Apr-2002  tsutsui Expand IMAGESIZE to 2.5Mbytes.
 1.19  07-Apr-2002  tsutsui Set DBG="-Os -mmemcpy" and also pass it to crunchgen via CRUNCHGEN_FLAGS.
(saves ramdiskbin ~4kbytes)
 1.18  06-Apr-2002  tsutsui Set DBG=-Os for libhack.
 1.17  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.16  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.15  28-Mar-2002  lukem minor tweak to IMAGEDEPENDS
 1.14  25-Mar-2002  lukem 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.
 1.13  18-Mar-2002  tsutsui Remove pwd_mkdb stuff since /etc/passwd file is not needed for install media.
Pointed out by lukem.
 1.12  16-Mar-2002  tsutsui - Use new common ramdisk build method.
- Add sysinst, and remove some binaries from list (for now).
 1.11  21-Feb-2002  tsutsui Add "release" targets.
 1.10  03-Feb-2002  lukem use ${HACKOBJS:Ngethost.o} instead of trying to keep HACKOBJS in sync with HACKSRC/Makefile.inc
 1.9  03-Feb-2002  tsutsui Use more libhack functions.
 1.8  02-Feb-2002  tsutsui - Rename ${SIZE} -> ${RAMDISKSIZE} to avoid conflict with new-toolchain.
- On clean target, try to "make -f ramdiskbin.mk clean" first if it exists.
- Include bsd.prog.mk for new-toolchain.
 1.7  13-Oct-2001  jmc Add MTREE?= to add Makefiles and use when running mtree
 1.6  10-Oct-2001  enami Use symbol MTREECONF instead of MTREE to refer configuration file
to avoid conflicts. Pointed out by chs@netbsd.org.
 1.5  01-Feb-2001  tsutsui Use libhack.o. (save ~20kbytes)
 1.4  01-Nov-2000  garbled Change all ocurrences of "crunchgen" to ${CRUNCHGEN}
 1.3  30-Aug-2000  jhawk Use
${MAKE}
instead of
make
 1.2  02-May-2000  sjg branches: 1.2.4;
use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
 1.1  04-Mar-2000  tsubai newsmips install floppy.
 1.2.4.1  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.26.12.1  05-Oct-2008  mjf Sync with HEAD.
 1.31.12.1  19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.32.10.1  21-Apr-2017  bouyer Sync with HEAD
 1.32.6.1  20-Mar-2017  pgoyette Sync with HEAD
 1.34.4.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.34.4.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed