Commit Graph

53 Commits

Author SHA1 Message Date
tsutsui
24cde80981 less is no more 2011-08-03 13:59:14 +00:00
tsutsui
f43d5958d6 Use distrib/utils/more to shrink ramdiskbin. 2011-08-01 15:41:34 +00:00
tron
df862fd957 Update location of "less" source directory to the build of various
install medias.
2011-07-03 23:11:31 +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
1bdd710904 Fix indent on common/protocols changes. 2009-04-29 18:20:00 +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
0fe756618b It looks the ARC BIOS has another limit which prevents loading
a kernel larger than 8MB (it is not emulated by gxemul BTW),
so disable several devices in GENERIC and shrink RAMDISK kernel again
by sprinkled "no" keywords etc.
2008-11-20 13:57:09 +00:00
tsutsui
d02a8caa63 Use vt100 rather than wsvt25 for TERM since the latter makes
both FG/BG colors white during sysinst on Express5800/230 with tga(4).
2008-11-20 13:43:28 +00:00
matt
7cd6f44757 Change remaining instances of ${RELEASEDIR}/${MACHINES} to
${RELEASEDIR}/${RELEASEMACHINEDIR}
2008-06-23 02:16:53 +00:00
dyoung
fdf6250eac Add -lprop to the LIBS line so that ifconfig will link. 2008-05-06 15:32:06 +00:00
tsutsui
f91b42aa3f Use CDBUILDEXTRA to put bootloader into iso. 2008-05-03 05:07:27 +00:00
tsutsui
187061c9e6 Put RAMDISK kernel and bootloader into / of iso-image.
(they can be used for boot from ISO on ARCBIOS)
2008-04-26 10:45:49 +00:00
tsutsui
552d8dcaa6 No need to strip symbols from a RAMDISK kernel. 2008-02-02 13:47:04 +00:00
tsutsui
b949470a6b Use less(1) rather than x_more. 2008-02-02 09:23:41 +00:00
tsutsui
2465bb71d5 Fix ttypo. 2008-02-02 09:18:00 +00:00
tsutsui
88c6f87ede Install the native bootloader (which can be loaded from MS-DOS floppy,
ISO9660 CD and FAT12 partition by the ARC BIOS) into
${RELEASEDIR}/${MACHINE}/installation.
2008-02-02 09:07:09 +00:00
tsutsui
b89379bbc7 Enable sysinst on arc.
Tested on gxemul emulating PICA, but upgrade is untested at all.

Should close PR port-arc/11444.
2008-02-02 04:23: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
239b1361f7 Ecoff kernels are no longer needed. 2005-05-07 14:15:05 +00:00
tsutsui
240805e513 Put a brandnew boot program to install ramdisk. 2005-04-18 16:47:07 +00:00
tsutsui
b818779753 Add newfs_msdos(8) for install ramdiskbin.
ARCBIOS can load binaries only from msdosfs on disks (or iso9660 on cdroms).
2005-04-16 14:44:49 +00:00
tsutsui
0f0f2c4943 Remove .mdebug.abi32 and .comment sections created by binutils-2.14
on converting kernels into ECOFF.
ARC BIOS may be confused by these sections without valid address.
2004-08-30 16:08:24 +00:00
salo
8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
tsutsui
cc824a41ce Remove .pdr section on converting kernels to ECOFF.
(sync with sys/arch/arc/conf/Makefile.arc.inc rev 1.9)
2003-05-05 11:41:07 +00:00
tsutsui
cf7ee4e531 Bump md_root size to 2.5Mbytes. 2003-02-10 11:18:55 +00:00
tsutsui
31fb061b05 Remove "-Wa,-xgot" hack from DBG flag for broken objcopy-crunchide
that has been fixed by simonb.
2003-02-01 05:00:17 +00:00
jdolecek
b8445f760f bump ramdisk image to 2330k 2003-01-22 21:16:32 +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
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
lukem
5e5b17c60f remove unnecessary MTREE line 2002-05-29 03:49:43 +00:00
jdolecek
bbe73cf3c3 it's 2304_k_ 2002-05-26 18:17:35 +00:00
jdolecek
d02e4285f9 bump ramdisk size, 2M isn't enough 2002-05-26 18:13:56 +00:00
lukem
04e61f8526 - whitespace consistency cleanup
- build (mdset/nm/strip) into ${filename} as one rule, and move ${filename}.gz
  into separate rule
- rename MDSET.${filename}.nosymbols -> MDSET_NOSYMBOLS.${filename}
- rename MDSET.${filename}.post -> MDSET_POST.${filename}, and don't do
  suffix handling here
- rework suffix handling:
	- rename MDSET.${filename}.suffixes -> MDSET_SUFFIXES.${filename},
	  and change from list of suffixes to list of "suffix cmdtobuildsuffix",
  	  where cmdtobuildsuffix is the name of the variable containing the
	  command to build ${filename}.${suffix} (available as "${.TARGET}").
	- for each ${filename}.${suffix}, depend upon ${filename} and use
	  ${cmdtobuildsuffix} to create the former.
	- add separate ${filename}.${suffix}.gz rule
- mipsco & pmax: rename "install.gz" to "netbsd-INSTALL.gz", for
  consistency and so the target to build the mdset kernel doesn't get
  confused with general "install" target
2002-05-08 21:44:53 +00:00
lukem
d5209f6152 rather than blocking parallel mdset builds with .WAIT, replace usage of
"netbsd.tmp" with "${.TARGET:R}" (et al)
2002-05-03 15:22:55 +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
tsutsui
142133ad1d Fix IMAGESIZE. (typo in rev 1.4?) 2002-04-27 17:15:48 +00:00
lukem
9e5598221a replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version 2002-04-26 15:50:21 +00:00
tv
3522143339 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.
2002-04-23 19:53:10 +00:00
lukem
17a225a0e2 convert to the new MDSET.*.suffixes / MDSET.*.post variables,
and take advantage of MDSETDIR enabling a release target
2002-04-15 01:55:07 +00:00
tsutsui
e26ed29894 Build install kernels. 2002-04-14 14:17:12 +00:00
tsutsui
8598c271ef Make md-root kernels (both elf and ecoff) here and
install them into RELEASEDIR.
2002-04-14 14:14:16 +00:00
tsutsui
3cd5a50891 Set DBG="-Os -mmemcpy" and pass it to crunchgen. 2002-04-14 12:52:15 +00:00