Commit Graph

30 Commits

Author SHA1 Message Date
tsutsui 6e1d247fb0 Try to shrink ramdiskbin binary.
-Os
-rwxr-xr-x  1 tsutsui  wheel  1371212 Nov 28 14:09 obj.dreamcast/ramdiskbin*

-Os -fno-unwind-tables
-rwxr-xr-x  1 tsutsui  wheel  1366000 Nov 28 14:10 obj.dreamcast/ramdiskbin*

-Os -fno-unwind-tables -DNDEBUG
-rwxr-xr-x  1 tsutsui  wheel  1359700 Nov 28 14:11 obj.dreamcast/ramdiskbin*
2020-11-28 05:16:06 +00:00
rin 5958de7d2a Fix miniroot overflow by switching to x_fsck_ffs and x_newfs
(drop byte-swapped and Apple UFS support).
2020-10-04 09:34:18 +00:00
martin a879768d74 PR install/54780: in the (of course totally unlikely) case that sysinst
should crash, run "stty sane".
2020-01-09 19:17:40 +00:00
christos 128e5f5e67 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)
2019-12-29 18:26:16 +00:00
christos 7e81d727bc Consistently use ${RELEASEDIR}/${RELEASEMACHINE} instead of
${RELEASEDIR}/${MACHINE} (Paul Ripke)
2019-09-23 13:42:30 +00:00
martin 0e857c5e1f Now that we do not force debug sets off install CDs any more, explicitly
set CDRELEASE_NODEBUG everywhere.
2018-09-28 15:05:19 +00:00
christos 009f8e31d2 += for MAKEFS_FLAGS 2017-01-24 18:04:01 +00:00
christos a406e29ff1 put back dmesg 2016-10-04 14:00:27 +00:00
christos 03a6073a0a kill some useless programs (it is not like the dreamcast has a tape drive) 2016-09-18 15:38:05 +00:00
tsutsui 4795762548 dhclient -> dhcpcd 2013-03-22 10:52:20 +00:00
tsutsui 7e57c1a44f Adjust file lists for recent move:
usr/sbin/chown -> sbin/chown
 usr/bin/chgrp  -> bin/chgrp
2011-01-14 10:26:28 +00:00
roy 0adc6cef21 Remove terminfo.db as it's now embedded in libterminfo. 2010-02-11 09:06:47 +00:00
roy bb3a353864 Use the rescue terminfo.db in our images instead of termcap. 2010-02-05 10:01:16 +00:00
abs 2108b54359 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi			ansi/pc-term compatible with color
dumb|unknown		80-column dumb tty
hp300h			HP Catseye console
iris-ansi-ap		IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net	IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il	Sun Microsystems Inc. console with working insert-line
vt100|vt100-am		DEC VT100 (w/advanced video)
vt220-8			DEC VT220 8 bit terminal
vt220|vt200|vt300	DEC VT220 in vt100 emulation mode
wsvt25			NetBSD wscons in 25 line DEC VT220 mode
wsvt25m			NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite		NetBSD/x68k ITE
xterm|vs100		xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
2009-09-20 23:19:50 +00:00
abs 6f653b39ef ${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
2009-09-20 19:49:07 +00:00
tsutsui 42eecbf8ef Use DBG=-Os, which works fine on landisk. 2009-04-25 18:29:05 +00:00
tsutsui ebcec758d8 Fix an indent. 2009-04-14 12:18:56 +00:00
tsutsui 60c60a896c Wrap a long line. 2009-04-14 12:18:36 +00:00
tsutsui 908d2667d5 Add dhclient to ramdisk root. 2009-04-14 12:09:48 +00:00
abs 7a3d39395e Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions
2009-01-25 22:08:37 +00:00
tsutsui 4f13ce5106 Use "-Os -freorder-blocks" as well as <sys.mk> for ramdisk build.
"-Os might cause compiler bugs on sh3" comment was for egcs or gcc3.
"-Os" might be also safe, but use the same one with the default sh3 build
for now.

Briefly tested on (not emulated but real) dreamcast.
2009-01-09 10:05:27 +00:00
dyoung fdf6250eac Add -lprop to the LIBS line so that ifconfig will link. 2008-05-06 15:32:06 +00:00
tsutsui da6308963f Use common/termcap.mini. 2008-02-01 14:25:58 +00:00
dogcow c1583b0d2c 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.)
2007-05-10 23:22:27 +00:00
bouyer fee07bcfd4 Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.

call iso_image in distrib/ for iso-image in the top Makefile.
2007-03-06 21:56:47 +00:00
dsl f9535a65ed Delete the:
SPECIAL        dmesg           srcdir  distrib/utils/x_dmesg
line from all the ramdisk 'list' files.  dmesg/Makefile will add -DSMALL
if SMALLPROG is defined (which it is by Makefile.crunch).
2005-09-10 13:09:01 +00:00
tsutsui 0cd5cd0d4f Create raw binary GENERIC_MD kernel, which could be useful to make bootable CD. 2005-01-07 11:19:55 +00:00
salo 8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
tsutsui a6223afc8f Remove "srcdir distrib/utils/x_mount" from ramdisk lists
since src/sbin/mount/Makefile no longer links fs specific routines.
2003-01-19 12:26:47 +00:00
tsutsui 5e1deee8cf Build ramdisk kernel for dreamcast. 2002-10-30 12:42:24 +00:00