Home | History | Annotate | only in /src/etc/etc.sparc
History log of /src/etc/etc.sparc
RevisionDateAuthorComments
 1.96 24-Oct-2003  jdolecek switch over to unified MAKEDEV
 1.95 10-Oct-2003  jdolecek reassing majors for crypto and pf to use the newly defined MI major range
 1.94 03-Oct-2003  dsl Add a /dev/constty == /dev/console but with minor 1.
Use for tty sessions on 'console' so that output doesn't pinched by anyone
using TIOCCONS to get kernel and system messages.
 1.93 19-Sep-2003  pooka add isdn telephony dialout devices
 1.92 05-Sep-2003  dsl Put back port specific majors for ptys
 1.91 30-Aug-2003  dsl Change the way pseudo tty devices are generated in order to avoid
any pipes and running other commands (eg dd).
Measurable speeds up creating pseudo ttys.
(there has to be a better way than editing 51 files! - tedious at only
6 key presses per file)
 1.90 22-Aug-2003  itojun create /dev/crypto
 1.89 27-Jul-2003  itojun reserve cdev major # for PF. ok'ed by technical-exec
 1.88 27-Apr-2003  ragge Add ksyms to "std" devices.
 1.87 20-Apr-2003  martin Add sysmon.
 1.86 17-Apr-2003  fvdl Add an 'init' target, that creates the device nodes in the case where
MAKEDEV is being called from init(8) to create an MFS /dev. For most
ports, this is the same as 'all'. The only exceptions are i386 and
x86_64.
 1.85 31-Mar-2003  perry make ipl consistently "IP Filter"
 1.84 20-Feb-2003  martin Add a few devices.
 1.83 28-Nov-2002  martin Add entries for /dev/bpp (parallel port on sbus machines)
 1.82 26-Oct-2002  martin Document wscons devices.
 1.81 26-Oct-2002  martin Add wscons devices.
Patch from Valeriy E. Ushakov's patch set for JavaStations.
 1.80 21-Oct-2002  lukem - replace 'sh -$- $0' with 'makedev' (missed this a while ago)
- TABify
 1.79 04-Oct-2002  elric Include cgd on the list of things to be mknod(8)ed on all arches.
 1.78 09-Aug-2002  lukem - in local), only run $0.local if it is an existing file
(prevents spurious warning for mfs /dev, amongst other things)
- for mipsco, news68k, newsmips: ensure that "umask 77" is run after $0.local
- for playstation2: add local) target, and use in all) (for consistency)
 1.77 18-Jun-2002  wiz Update comment on how to regenerate MAKEDEV(8) after changing the
MAKEDEV script. Not that anybody acts on it, but it's nicer if it's correct.
 1.76 17-Jun-2002  christos Add device creation support for systrace.
 1.75 16-Mar-2002  martin branches: 1.75.2;
Rename ISDN devices, per discussion on tech-kern. The network devices
become ippp (ISDN ppp) and irip (ISDN raw IP). The character device now
are called: /dev/isdn (isdnd <-> kernel communication), /dev/isdnctl (dialing
and other control), /dev/isdntrc* (tracing), /dev/isdnbchan* (raw B channel
access, i.e. for user land PPP) and /dev/isdntel* (telephone devices, i.e.
for answering machines).
 1.74 13-Mar-2002  simonb Remove trailing semicolons from lines that don't need them.
TABify many lines.
 1.73 04-Mar-2002  lukem various cleanups inspired by etc.i386/MAKEDEV:

* use "ln -fs foo bar" instead of "rm -f bar; ln -s foo bar"

* remove unnecessary chown root or chgrp wheel directives; older code here
didn't bother doing this, so why be inconsistent

* when making directories, don't use -p and don't redirect stdout to /dev/null

* clean up whitespace

* wrap the main parser code in a function makedev(), and call makedev
instead of "sh $0". (this is a bit faster)

* don't barf when we have fdesc mounted; just skip the devices fdesc provides


(these files should really be automagically generated...)
 1.72 03-Mar-2002  toshii Use a tab instead of 7 spaces.
 1.71 25-Feb-2002  atatat Change a 62 to a 16, so that the proper number of slots is skipped.
Fixes PR 15650.
 1.70 02-Feb-2002  tls Fix minor mistake made while increasing number of pty devices: where we had
"pty0 pty1 pty2 pty3" before, for a total of 64 device nodes, we now want
just "pty0" for a total of 62 -- the original commit had "pty0 pty1" for a
total of 124, which ate too many inodes and made "ls /dev" a bit messy.
 1.69 02-Feb-2002  tls Add support for many more (930 or 992) ptys than the current 256.

Changes taken from the i386 MAKEDEV. Note that the unusual use of 'dd'
to index an array was chosen because 'dd' is on all ports' install media.

This form of this change comes from Andrew Brown; the original idea to
bump the number of ptys this way comes from Brian Marcotte at Panix.
 1.68 19-Jan-2002  oster Update the various MAKEDEV's to reflect the default of 8 RAIDframe devices.
 1.67 13-Jan-2002  manu Added clockctl
 1.66 08-Jan-2002  lukem fix a couple of spelling mistakes in the i4b* descriptions
 1.65 01-Jan-2002  mrg add clcd device support, plus document magma support.
 1.64 19-Dec-2001  wiz Standardize ch* and uk* descriptions.
 1.63 19-Dec-2001  wiz Add ss, uk, ch descriptions.
 1.62 11-Dec-2001  uwe Add pci bus device.
 1.61 28-Feb-2001  mjacob add knowledge of SES device (4)
 1.60 08-Jan-2001  martin Add isdn devices
 1.59 29-Oct-2000  tsutsui Make md(4) device files on "all" target.
 1.58 14-Sep-2000  abs Create two devices for framebuffers that can have more than one card installed
Now a dual head cgsix box (for example) will work in X by default.
 1.57 23-Aug-2000  jdc Make the 3rd and 4th serial ports on a 4/300 work again - ttyc and ttyd are
now minors 2 and 3 respectively.
 1.56 27-Jul-2000  mason pty{0,1} created more than once for "floppy" target. Corrected.
 1.55 27-Jul-2000  mason Move to a default of 64 PTYs in "all" targets. Normalize "floppy" and
"minimal" targets to use 16 PTYs.
 1.54 21-Jan-2000  tsutsui branches: 1.54.4;
- rename (revert) normal memory disk device name /dev/mdX -> /dev/mdXa
- now raw partitions are used for memory disk ioctls
 1.53 18-Dec-1999  tsutsui Correct md* entries.
 1.52 15-Dec-1999  garbled Create devices for apm, apmctl and tctrl0
 1.51 18-Oct-1999  ad Back out previous
 1.50 14-Oct-1999  phil Make the coda pseudo device cfs0.
 1.49 06-Oct-1999  ad Final chown user.group -> chown user:group changes.
 1.48 18-Sep-1999  hubertf branches: 1.48.2;
Tidy up comments a bit, to make the manpages generated from the a bit
nicer. Also, add a comment on how to re-generate the manpages if the
MAKEDEV file was changed.
 1.47 31-Jul-1999  matt Add ttyC? devices for com devices.
 1.46 26-Apr-1999  abs Add a 'ramdisk' target, and create ptys on both ramdisk and floppy
(Needed for sysinst).
 1.45 13-Apr-1999  mrg build ipfilter devices by default.
 1.44 26-Mar-1999  mrg branches: 1.44.2;
build audio[0123] links.
 1.43 16-Jan-1999  abs On platforms that have GENERIC kernels containing 'bpfilter 8' or greater,
create at least eight bpf dev entries. (All except atari).
 1.42 10-Jan-1999  mrg do not create xd or xy devices for the floppy. add a cd1 and some more sdNs
 1.41 13-Nov-1998  oster Added RAID devices for everyone!
 1.40 15-Oct-1998  thorpej Add /dev/scsibus* device nodes.
 1.39 20-Jun-1998  mrg create more than just mdN and rmdN, and add md0 to "floppy" list.
 1.38 06-Jun-1998  mrg add support for building bootable floppies.
 1.37 20-May-1998  pk Add `magma' nodes.
 1.36 22-Mar-1998  pk For the ch & uk device, unit number == minor
 1.35 22-Mar-1998  mycroft Introduce a couple of variables to make this clearer.
 1.34 22-Mar-1998  mycroft Create dty (dialout) device nodes for the zs driver.
Also add support for creating ttyc and ttyd, for the 4/300s.
 1.33 26-Nov-1997  tv Fixes PR #3858: /dev/fd uniformly updated in MAKEDEV to make directory
(and file nodes) owned by root.wheel, and /dev/fd directory mode 755. Now
it matches mtree (and the rest of the system's permissions/owner layout).
 1.32 20-Nov-1997  fair add appropriate entry to make "random" as documented in rnd(4).
add "random" entry to "all".
 1.31 22-Aug-1997  lukem branches: 1.31.2;
* remove superfluous umasks
* st* perms are 660 not 640
* ttyv* isn't a special case on the sparc (it's an i386-ism)
* add enss* to ss*
* use $0.local instead of MAKEDEV.local, and reset the umask afterwards
 1.30 18-Aug-1997  augustss Create /dev/audioctl and allow creation of multiple audio devices.
 1.29 01-Aug-1997  leo Use DISKUNIT macro to encode md's unit in the minor number.
 1.28 31-Jul-1997  perry Make MAKEDEV and MAKEDEV.local mutually consistant. Reported in
pr #2596 by Tatoku Ogaito, but my fix is different from his.
This is purely an aesthetic change.
 1.27 23-Jul-1997  phil Make all tty??/pty?? pairs that can be opened by openpty().
Remove use of awk for generating names.
Make all consistent as possible.
Closes PR 3420.
 1.26 22-Jul-1997  phil Make all MAKEDEVs make fd/* similar. No need for awk or expr.
Inspired by PR 3420. Some MAKEDEVS had the fd separated out
of std and fd added to std.
 1.25 07-Jul-1997  veego Added a new device entry for ipfilter: /dev/ipauth
 1.24 31-May-1997  thorpej Add ipnat and ipstate at the appropriate minor numbers off the ipfilter
device.
 1.23 16-Apr-1997  pk Add sound & mixer device nodes (Jesper Nilsson; PR#3342)
 1.22 05-Jan-1997  mrg create ipl device.
 1.21 01-Jan-1997  pk Device rename: `rd' => `md'
 1.20 12-Nov-1996  pk Deal with missing `cgtwo', `uk' and `ss' devices.
 1.19 11-Nov-1996  pk Eliminate lots of expr(1) calls, as suggested by Charles.
 1.18 20-Jun-1996  pk Add tcx framebuffer.
Add rd memory disk device.
 1.17 19-Oct-1995  pk Lump cd and vnd device together with rest of disk devices. This also
takes care of PR#1626.
 1.16 10-Oct-1995  pk Add xd and xy devices.
Add fd,xd,xy to all target.
 1.15 17-Aug-1995  thorpej branches: 1.15.2;
Add entries for the ccd.
 1.14 02-Jun-1995  pk Compute `unit' up front (snarfed from sun3 MAKEDEV).
 1.13 13-Mar-1995  pk One dot too many in cgfour rule. Noticed by David Brownlee.
 1.12 01-Mar-1995  pk Add cgfour/cgeight.
 1.11 15-Feb-1995  pk st is bdev 11
 1.10 31-Jan-1995  pk Add `openprom'.
 1.9 05-Dec-1994  deraadt ch, st, cd
 1.8 08-Apr-1994  deraadt cgthree/cgsix major numbers were wrong
 1.7 27-Mar-1994  deraadt oops
 1.6 06-Mar-1994  deraadt add "all" entry
 1.5 27-Feb-1994  deraadt support lkm/tun/vn drivers
 1.4 27-Feb-1994  deraadt support bpf properly
 1.3 08-Feb-1994  deraadt use normal major numbers for ptys
 1.2 07-Feb-1994  deraadt i thought i'd fixed the graphics before
 1.1 04-Feb-1994  deraadt first cut. derived from the hp300 MAKEDEV
 1.15.2.2 20-Oct-1995  pk Update from trunk
 1.15.2.1 13-Oct-1995  pk Update from trunk: add Sun console
 1.31.2.2 03-Feb-1999  cgd patch (1.38-1.39 + 1.42, plus a patch to clean it up for 1.3.x)
to add a 'floppy' description and to build mdN[abc] devs. (mrg)
 1.31.2.1 20-Nov-1997  mellon Pull rev 1.32 up from trunk (fair)
 1.44.2.3 05-Jan-2000  he Pull up revision 1.50 (requested by phil):
Add coda to the sparc port and enable in GENERIC.
 1.44.2.2 26-Apr-1999  perry pullup 1.45->1.46 (abs)
 1.44.2.1 13-Apr-1999  mrg pull up 1.45
 1.48.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.54.4.3 14-Sep-2000  abs Create two devices for framebuffers that can have more than one card installed
Now a dual head cgsix box (for example) will work in X by default.
Pullup 1.58 approved by thorpej
 1.54.4.2 24-Aug-2000  jdc Pullup r1.56 -> r1.57.
Make the 3rd and 4th serial ports on a 4/300 work again - ttyc and ttyd are
now minors 2 and 3 respectively.

Approved by thorpej.
 1.54.4.1 11-Aug-2000  mason Create 64 PTYs in "all" target by default.
Requested by mason, approved by jhawk.
 1.75.2.2 12-Dec-2002  he Pull up revision 1.83 (via patch, requested by martin in ticket #1023):
Add entries for /dev/bpp (parallel port on sbus machines).
 1.75.2.1 10-Aug-2002  lukem Pull up revision 1.78 (requested by lukem):
- in local), only run $0.local if it is an existing file
(prevents spurious warning for mfs /dev, amongst other things)
- for mipsco, news68k, newsmips: ensure that "umask 77" is run after $0.local
- for playstation2: add local) target, and use in all) (for consistency)
 1.19 05-Apr-2020  jdolecek remove nsmb from MD list of devices to create for 'all'
 1.18 23-Sep-2018  maxv Remove ISDN from the kernel. It has remained unmaintained for a long time,
is of poor quality, and is now an obstacle to MP-ification. It was removed
ten years ago from FreeBSD for the same reason.

This retires a big user of the mbuf API, and will ease maintenance of the
kernel.
 1.17 26-Mar-2017  martin branches: 1.17.10; 1.17.12;
Add ld(4) nodes
 1.16 08-Dec-2016  nat branches: 1.16.2;
Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.15 16-Aug-2012  abs branches: 1.15.16;
Add 'bpf' to all ramdisk targets (*), or floppy targets if ramdisk calls that.
Sort bpf to come directly after 'std' where relevant.
* (apart from etc.evbppc who's ramdisk target *only* builds md0,
which just doesn't make sense).
Should allow a fighting chance for dhcpcd to get an IP address.
 1.14 06-Sep-2011  apb branches: 1.14.2;
Change foo*) case patterns to foo[0-9]*) in MD MAKEDEV.conf files,
as was done earlier today for the MI MAKEDEV.tmpl. There are
also a few instances of slightly different changes in the
case patterns.
 1.13 13-Sep-2008  tsutsui Remove duplicated cfs0.
 1.12 13-Sep-2008  tsutsui Move "makedev cfs" for the vcoda device from MI MAKEDEV.tmpl to
MD MAKEDEV.conf. Not all ports have vcoda in their majors.foo files
and we shouldn't (re)assign major numbers on all ports before 5.0.

Should close PR port-sgimips/38962.
 1.11 15-Jan-2007  hubertf branches: 1.11.12; 1.11.16;
Fix MAKEDEV on shark: Move ses(4) devices from MI code (MAKEDEV.tmpl) to
those platforms that actually have the driver.

See also:
http://mail-index.netbsd.org/tech-userlevel/2007/01/08/0001.html

Fixes PR 26511 properly.

OK'd by wrstuden@
 1.10 03-Jul-2005  macallan branches: 1.10.4;
added ttyC00 and ttyC01 fopr the SPARCbook's internal modem and PCMCIA
modems
 1.9 24-Jun-2005  jdc Make fb a link to fb0.
Add an entry for fb1.
 1.8 23-May-2005  macallan added wd*
 1.7 21-Dec-2003  lukem Rework MAKEDEV:

* Use "mknod -F netbsd -r" to create nodes, instead of
"rm ; mknod; chmod; chown".
This means permissions & ownership of existing nodes will
not be changed.
This is up to 30% faster when populating an empty /dev,
and nearly 2x faster when re-running on an existing /dev.

* New options:
-f force change of permission & ownership of existing
devices
-m mknod override name/path of mknod program
(which defaults to $TOOL_MKNOD, then "mknod").
-s generate mtree(8) specfile instead of creating devices

* Remove /usr/etc from $PATH; not needed anymore.

* Provide functions to create devices & directories:
mkdev name [b|c] major minor [mode{=600} [gid{=0} [uid{=0}]]]
create device node `name' with the appropriate permissions
lndev src target
create a symlink from src to target
makedir dir mode
create directory with appropriate mode

* UIDs and GIDs are hardcoded in at MAKEDEV generation time.
(Unfortunately there's not a simple way of determining a GID
a la "id -n user" for determining a UID).

This was tested by generating MAKEDEV for each MACHINE,MACHINE_ARCH
combination and comparing the results of "MAKEDEV all" from the
previous version to the new one.
(This testing actually highlighted mistakes in the previous configuration!)


Simplify distrib/common/Makefile.makedev to use "MAKEDEV -s"
 1.6 09-Dec-2003  tacha remove target before executing mknod (in std_sparc).
 1.5 24-Oct-2003  jdolecek fix floppy & ramdisk targets
 1.4 24-Oct-2003  jdolecek sync with reality, put back some entries mistakely omitted
in the initial conversion from MD MAKEDEV
 1.3 19-Oct-2003  jdolecek determine the platform number of disk partitions by looking
at MAXPARTITIONS/OLDMAXPARTITIONS in kernel sources, so that it wouldn't
need to be specified separately in MAKEDEV.conf

change platform MAKEDEV.conf to contain only MD targets and nothing else;
simplify the parsing in MAKEDEV.awk accordingly
 1.2 19-Oct-2003  jdolecek target 'audio' creates /dev/audio0-3, g/c the duplicit entries creating
the files again
 1.1 15-Oct-2003  jdolecek MD part of unified MAKEDEV
this contains information about disk partitions used by platform,
and MD MAKEDEV targets, such as 'init', MD part of 'all',
as well as any other MD-specific targets not covered by MAKEDEV.tmpl
 1.10.4.1 18-Feb-2007  tron Pull up following revision(s) (requested by hubertf in ticket #429):
etc/etc.bebox/MAKEDEV.conf: revision 1.5
etc/etc.x68k/MAKEDEV.conf: revision 1.8
etc/etc.next68k/MAKEDEV.conf: revision 1.3
etc/etc.ofppc/MAKEDEV.conf: revision 1.5
etc/etc.hpcmips/MAKEDEV.conf: revision 1.4
etc/etc.amd64/MAKEDEV.conf: revision 1.8
etc/etc.algor/MAKEDEV.conf: revision 1.4
etc/etc.sparc64/MAKEDEV.conf: revision 1.12
etc/etc.hp300/MAKEDEV.conf: revision 1.11
etc/etc.sgimips/MAKEDEV.conf: revision 1.8
etc/etc.pc532/MAKEDEV.conf: revision 1.5
etc/etc.mvmeppc/MAKEDEV.conf: revision 1.6
etc/etc.mvme68k/MAKEDEV.conf: revision 1.6
etc/etc.pmppc/MAKEDEV.conf: revision 1.6
etc/etc.cobalt/MAKEDEV.conf: revision 1.4
etc/etc.evbmips/MAKEDEV.conf: revision 1.4
etc/etc.sparc/MAKEDEV.conf: revision 1.11
etc/etc.hpcarm/MAKEDEV.conf: revision 1.7
etc/etc.i386/MAKEDEV.conf: revision 1.12
etc/etc.acorn32/MAKEDEV.conf: revision 1.8
etc/etc.evbppc/MAKEDEV.conf: revision 1.5
etc/etc.amiga/MAKEDEV.conf: revision 1.10
etc/etc.prep/MAKEDEV.conf: revision 1.4
etc/etc.sandpoint/MAKEDEV.conf: revision 1.4
etc/MAKEDEV.tmpl: revision 1.71
etc/etc.alpha/MAKEDEV.conf: revision 1.7
etc/etc.ibmnws/MAKEDEV.conf: revision 1.6
etc/etc.macppc/MAKEDEV.conf: revision 1.7
etc/etc.mmeye/MAKEDEV.conf: revision 1.5
etc/etc.mac68k/MAKEDEV.conf: revision 1.7
etc/etc.vax/MAKEDEV.conf: revision 1.10
etc/etc.arc/MAKEDEV.conf: revision 1.6
etc/etc.hp700/MAKEDEV.conf: revision 1.4
etc/etc.mipsco/MAKEDEV.conf: revision 1.3
etc/etc.atari/MAKEDEV.conf: revision 1.7
Fix MAKEDEV on shark: Move ses(4) devices from MI code (MAKEDEV.tmpl) to
those platforms that actually have the driver.
See also:
http://mail-index.netbsd.org/tech-userlevel/2007/01/08/0001.html
Fixes PR 26511 properly.
OK'd by wrstuden@
 1.11.16.1 24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.11.12.1 05-Oct-2008  mjf Sync with HEAD.
 1.14.2.1 30-Oct-2012  yamt sync with head
 1.15.16.2 26-Apr-2017  pgoyette Sync with HEAD
 1.15.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.16.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.17.12.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.17.12.1 10-Jun-2019  christos Sync with HEAD
 1.17.10.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.43 14-Mar-2012  martin Disable generation of boot floppy images for sparc, which do not fit on
floppy disks anymore, to unbreak the build (for now).
If someone feels like adding and testing ustarfs support in the floppy
/boot, please reenable again.
 1.42 15-Jan-2012  joerg branches: 1.42.2;
Now that the name of the ISO image is no longer stable, rename the
variable to make it possible to overwrite the default with
build.sh -V CDROM_IMAGE=...
 1.41 18-Mar-2008  lukem branches: 1.41.22;
Convert all the etc/etc.*/Makefile.inc to use RELEASEDIR/RELEASEMACHINEDIR
just like etc/Makefile does.
 1.40 24-Jul-2007  pavel branches: 1.40.4; 1.40.10; 1.40.12; 1.40.14;
Add a comment reminding to update the release notes if the list of
kernels change.
 1.39 15-Dec-2003  martin Add JavaStation kernels to KERNEL_SETS
 1.38 15-Dec-2003  martin bootjs.elf -> bootjs.net
 1.37 14-Dec-2003  martin Place bootjs.elf in .../installation/netboot too (boot.net can't be used
for JavaStations)
 1.36 10-Jul-2003  lukem Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO". The new variables are:
TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET
TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN
TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT
TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS
TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB
TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE
TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER
TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS
TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL
TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
TOOL_FOO?= foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
 1.35 08-Mar-2003  lukem - rename 'iso-image_*' -> 'iso-image-*'
- run MAKESUMS in iso-image, *after* the MD iso-image-md-post has run,
since the latter might actually modify the generated image...
 1.34 07-Mar-2003  lukem use distrib/common/sunbootcd.sh instead of building the
non-cross-friendly distrib/utils/mksunbootcd/mksunbootcd
 1.33 13-Jan-2003  matt Build and supply a GENERIC.MP now that SMP works.
 1.32 04-Jan-2003  lukem - Enable OBJ support for etc/; a scratch dir is needed for iso-image.
- Add ${.CURDIR} to various rules.
- Remove the ${KERNOBJDIR} (sys/arch/${MACHINE}/compile) objdir creation
from here.
- Rework iso-image to copy temporary files (such as kernels or boot files)
into a temporary directory instead of stomping over ${RELEASEDIR}, and
use mkisofs -graft-points to merge the temporary directory and
${RELEASEDIR}/${MACHINE}.
NOTE: mkisofs 2.0 is highly recommended for functioning -graft-points
- Add some more comments
 1.31 03-Jan-2003  lukem Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
 1.30 02-Dec-2002  lukem consistency tweaks
 1.29 02-Dec-2002  lukem - add snap_post, which makes "clean depend all release" in ../distrib/
for all platforms.
- remove now unnecessary replicated code in the various snap_md_post targets
- remove snap_md_pre; nothing uses it any more
- use ${NETBSDSRCDIR} and ${KERNSRCDIR} as appropriate
 1.28 10-Oct-2002  jdolecek back previous off; as pointed out by Jason, MP doesn't work on sparc yet
 1.27 10-Oct-2002  jdolecek add GENERIC.MP to KERNEL_SETS on architectures with MP support
 1.26 02-May-2002  lukem - consistency cleanup
- ensure INSTALLATION_DIRS contains the appropriate extra directories
for a given platform
 1.25 31-Mar-2002  bjh21 Add a MAKESUMS variable which invokes makesums with CKSUM in its environment.
Use this whenever we want to invoke makesums.
 1.24 05-Mar-2002  thorpej Use ${PRINTOBJDIR}.
 1.23 29-Nov-2001  thorpej Change the way kernel sets are specified, and make them
more consistent. To quote the comment in etc/Makefile
that describes how it's done:

# This target builds the kernels specified by each port. A port may
# specify the following kernels:
#
# KERNEL_SETS The list of kernels that will be
# packaged into sets, named
# kern-${kernel}.tgz. These kernels
# are also placed in the binary/kernels
# area of the release package as
# netbsd-${kernel}.gz.
#
# EXTRA_KERNELS Additional kernels to place in the
# binary/kernels area of the release
# package as netbsd-${kernel}.gz, but
# which are not placed into sets. This
# allows a port to provide e.g. a netbootable
# installation kernel containing a ramdisk.
#
# BUILD_KERNELS Additional kernels to build which are
# not placed into sets nor into the
# binary/kernels area of the release
# package. These are typically kernels
# that are built for inclusion only in
# installation disk/CD-ROM/tape images.
#
 1.22 04-Mar-2001  mrg build GENERIC_SUN4U kernel.
 1.21 31-Oct-2000  pk * Add `installation/floppy' and `installation/tape' directories to the
release(7) hierarchy and populate them with links to images in `bootfs'

* Remove miniroot scripts from `installation/netboot'; these are contained
in the instfs.tgz which can be used to setup an NFS root directory (for
installation purposes).

* Make the bootable cd-rom image using the `bootfs' filesystem, since a bug
in the cd driver prevents us from running directly from a CD filesystem.
 1.20 22-Oct-2000  pk Do `make release' in distrib/sparc/instfs.
 1.19 20-Oct-2000  pk Add target to make a bootable CD-R image.
 1.18 20-Oct-2000  pk Remove references to {bootfs,ramdisk}.sysinst.
 1.17 28-Sep-2000  abs Prior art in naming would suggest INSTALL_SYSINST rather than INSTALL-SYSINST.
 1.16 04-Sep-2000  abs Run 'make release' in sysinst distrib dirs
 1.15 14-Nov-1999  pk branches: 1.15.4;
Remove unnecessary inclusion.
 1.14 18-Oct-1999  pk Add sparc MD parts to `make release'.
 1.13 05-Feb-1999  cjs branches: 1.13.2; 1.13.4;
Update all this crap so that `make snapshot' makes snapshots in release(7)
format, rather than in some unknown format. Also clean up the code a bit,
remove some code duplication, and add documentation to the Makefile.
 1.12 09-Oct-1998  itohy Use "${MAKE}" instead of "make" for cross compilation.
 1.11 28-Jun-1998  fair These commits do two things:

1. Provide a consistent and extensible framework for compiling
kernels for the "make snapshot" target.

2. Add OBJDIR support for the "make snapshot" target, in the form
of three new make variables: KERNOBJDIR, KERNSRCDIR, and KERNCONFDIR.
Default values are in the Makefile.inc, and for OBJDIR they should
be defined in /etc/mk.conf as

KERNSRCDIR=${BSDSRCDIR}/sys
KERNOBJDIR=${BSDOBJDIR}/sys/arch/${MACHINE}/compile

The next step is to make a new target in the src/etc/Makefile for "release"
(or something like that) to make release(7) format files.
 1.10 24-Jun-1998  fair an experiment in OBJDIR support for "make snapshot" for sparc
 1.9 20-Sep-1997  mikel RCSid police
 1.8 31-Aug-1997  pk Don't copy files which are no longer here.
 1.7 12-May-1995  pk config.new => config; use GENERIC kernels.
 1.6 12-Aug-1994  deraadt build netbsd.scsi3 kernel too
 1.5 27-Jul-1994  deraadt cleanup
 1.4 27-Apr-1994  deraadt branches: 1.4.2;
ship a dev.cpio.gz that has devices built in it
 1.3 20-Apr-1994  deraadt duh
 1.2 18-Apr-1994  deraadt my life is now easier
 1.1 12-Apr-1994  deraadt build two needed kernels
 1.4.2.2 12-Aug-1994  mycroft update from trunk
 1.4.2.1 28-Jul-1994  cgd from trunk.
 1.13.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.13.2.1 13-Jul-2000  he Apply patch (requested by he):
Enhance the "make release" process:
o Make installation directories
o Build the distrib bits
 1.15.4.3 01-Nov-2000  tv Pullup 1.21 [pk]:
* Add `installation/floppy' and `installation/tape' directories to the
release(7) hierarchy and populate them with links to images in `bootfs'

* Remove miniroot scripts from `installation/netboot'; these are contained
in the instfs.tgz which can be used to setup an NFS root directory (for
installation purposes).

* Make the bootable cd-rom image using the `bootfs' filesystem, since a bug
in the cd driver prevents us from running directly from a CD filesystem.
 1.15.4.2 22-Oct-2000  tv Pullup 1.20 [pk]:
Do `make release' in distrib/sparc/instfs.
 1.15.4.1 20-Oct-2000  tv Pullup 1.17-1.19 by patch [pk]:
Add target for bootable CD-ROM.
 1.40.14.2 24-Jul-2007  pavel Add a comment reminding to update the release notes if the list of
kernels change.
 1.40.14.1 24-Jul-2007  pavel file Makefile.inc was added on branch matt-mips64 on 2007-07-24 10:49:29 +0000
 1.40.12.1 03-Apr-2008  mjf Sync with HEAD.
 1.40.10.1 24-Mar-2008  keiichi sync with head.
 1.40.4.1 23-Mar-2008  matt sync with HEAD
 1.41.22.1 17-Apr-2012  yamt sync with head
 1.42.2.1 24-Mar-2012  bouyer Pull up following revision(s) (requested by martin in ticket #139):
distrib/sparc/bootfs/Makefile: revision 1.40
etc/etc.sparc/Makefile.inc: revision 1.43
Disable generation of boot floppy images for sparc, which do not fit on
floppy disks anymore, to unbreak the build (for now).
If someone feels like adding and testing ustarfs support in the floppy
/boot, please reenable again.
 1.6 22-Aug-1997  lukem these are *way* out of date...
 1.5 26-Aug-1994  deraadt clean
 1.4 12-Aug-1994  deraadt improve install
 1.3 27-Jul-1994  deraadt cleanup
 1.2 28-Jun-1994  deraadt branches: 1.2.2;
important note about newfs
 1.1 18-Apr-1994  deraadt my life is now easier
 1.2.2.2 12-Aug-1994  mycroft update from trunk
 1.2.2.1 28-Jul-1994  cgd from trunk.
 1.13 19-Dec-2002  jdolecek use single minimal default disktab file for most archs, replacing
MD disktab where possible (everything but vax)
the MD disktab was often either empty, or contained entries even for disks
which support geometry autodetection (SCSI), and/or non-interesting/long
obsolete entries

the old records are still available in example disktab in
/usr/share/examples/disktab/disktab in case anyone would need them
 1.12 09-Apr-2002  tron Back out last change because we now have a special disktab for the
FFS regression test.
 1.11 09-Apr-2002  tron Add missing "floppy288" entry required for FFS regression test.
 1.10 31-May-2000  matt Update instfs to current ramdisk size.
 1.9 14-Jan-2000  pk branches: 1.9.2;
Expand `instfs' to 1.8MB.
 1.8 26-Jan-1999  mrg fix some space lossage.
 1.7 10-Jan-1999  mrg grow the instfs a little, inline with bootfs changes.
 1.6 28-Aug-1998  mrg call it "instfs" not "floppyinstfs" as it is not for a floppy
 1.5 06-Jun-1998  mrg add support for building bootable floppies.
 1.4 20-Sep-1997  mikel branches: 1.4.2;
RCSid police
 1.3 30-Oct-1995  pk More disks descriptions from Matthew Green.
 1.2 20-Oct-1995  pk Some small disks found in Sun systems.
 1.1 28-Mar-1994  deraadt branches: 1.1.4;
make distribution demands a disktab file, apparently.
 1.1.4.2 30-Oct-1995  pk Update from trunk: more disks
 1.1.4.1 20-Oct-1995  pk Update from trunk
 1.4.2.1 01-Feb-1999  cgd pull up revs 1.5-1.8 from trunk (mrg)
 1.9.2.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.4 04-May-2002  jdolecek Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
 1.3 09-Jan-1998  perry RCS Id Police.
 1.2 22-Aug-1995  jtc ufs -> ffs; PR #1381
 1.1 29-Mar-1994  deraadt need this for make distribution, too
 1.6 22-Aug-1997  lukem these are *way* out of date...
 1.5 12-Aug-1994  deraadt oops
 1.4 12-Aug-1994  deraadt improve install
 1.3 27-Jul-1994  deraadt cleanup
 1.2 18-Apr-1994  deraadt branches: 1.2.2;
better
 1.1 18-Apr-1994  deraadt my life is now easier
 1.2.2.3 13-Aug-1994  mycroft update from trunk
 1.2.2.2 12-Aug-1994  mycroft update from trunk
 1.2.2.1 28-Jul-1994  cgd from trunk.
 1.2 21-Jan-2003  martin Let v9 machines (ultras running sparc64 32bit kernels) use the v8
library too.
 1.1 26-Nov-2002  pk On sparc v8 CPUs, map libsparc_v8.so in front of libc.so
 1.17 25-Sep-2019  abs Switch default console tty from /dev/console to /dev/constty

With this switch processes (such as xconsole) can open /dev/console
without breaking login on the text or serial console. This can be
trivially triggered by enabling xdm in rc.conf and hitting
Ctrl+Alt+F1 or equivalent once booted.

The changes:
- Add entry for /dev/console or /dev/constty if missing
- If a port's had /dev/console 'on' switch it off and enable /dev/constty
- If a port did not have /dev/console 'on', leave /dev/constty off

Some ports had /dev/console off and /dev/ttyE0 enabled, presumably to
avoid just this issue. It may make sense to adjust these also (but not
in this pass)

As discussed on current-users
 1.16 26-Jun-2012  macallan branches: 1.16.34; 1.16.36;
do as sparc64 does and switch the default terminal type to wsvt25
 1.15 14-Dec-2008  macallan branches: 1.15.8;
do as sparc64 does
 1.14 07-Oct-2008  abs branches: 1.14.2; 1.14.6;
Add a constty entry, marked 'off', with otherwise the same settings
as the console. Now when coming up in single user mode the tset in
/.profile can set the terminal type correctly.
Note: I believe constty should be 'on' and console 'off', but thats a
separate discussion
 1.13 20-Jun-2004  christos branches: 1.13.26;
remove ad-hok list of pty's from port tty files, and auto-generate it so
that it is consistent, and in the proper order.
 1.12 04-Oct-2003  dsl Revert 'console' back to /dev/console (from /dev/constty)
 1.11 03-Oct-2003  dsl Change 'console' login to use /dev/constty so that its output isn't
stolen by code that requests system messages using TIOCCONS.
 1.10 13-Feb-2002  martti Added ttyp[g-zA-Z] (bin/15594).
 1.9 12-Aug-2000  mason This should be the final part of moving to 64 PTYs by default. Added
entries for tty{r,s}{0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f} to /etc/ttys.

Thanks to Matthew Green for pointing out the need.
 1.8 09-Jan-1998  perry branches: 1.8.10;
RCS Id Police.
 1.7 11-Oct-1995  pk Use suncons gettytab entry for console.
 1.6 05-Feb-1994  deraadt branches: 1.6.4;
reality
 1.5 23-Aug-1993  cgd changes from 0.9-ALPHA2 to 0.9-BETA
 1.4 10-Jul-1993  mycroft branches: 1.4.2;
Remove a spurious `unknown' that was screwing people over.
 1.3 08-Jul-1993  cgd changes for init...
 1.2 02-Apr-1993  cgd changed `console' to `vga'
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.4.2.1 20-Aug-1993  cgd add i386-specific instructions. still need to deal with the fact
that the generic console's getty is type "Pc" -- BOGUS!!!
 1.6.4.1 13-Oct-1995  pk Update from trunk: add Sun console
 1.8.10.1 12-Aug-2000  mason This should be the last piece of the move to 64 default PTYs. /etc/ttys now
has entries for 64 ptys.

Thanks to Matthew Green for pointing out the need for this.
 1.13.26.1 17-Jan-2009  mjf Sync with HEAD.
 1.14.6.1 21-Apr-2010  matt sync to netbsd-5
 1.14.2.2 18-Oct-2009  bouyer Back out 961
 1.14.2.1 18-Oct-2009  bouyer Pull up following revision(s) (requested by macallan in ticket #961):
etc/etc.sparc/ttys: revision 1.15
do as sparc64 does
 1.15.8.1 30-Oct-2012  yamt sync with head
 1.16.36.1 28-Oct-2019  martin Pull up following revision(s) (requested by abs in ticket #384):

etc/etc.evbmips/ttys: revision 1.7
etc/etc.sparc64/ttys: revision 1.12
etc/etc.shark/ttys: revision 1.9
etc/etc.amiga/ttys: revision 1.25
etc/etc.arc/ttys: revision 1.9
etc/etc.sbmips/ttys: revision 1.6
etc/etc.landisk/ttys: revision 1.4
etc/etc.alpha/ttys: revision 1.13
etc/etc.amigappc/ttys: revision 1.4
etc/etc.mmeye/ttys: revision 1.8
etc/etc.ia64/ttys: revision 1.2
etc/etc.sandpoint/ttys: revision 1.8
etc/etc.hp300/ttys: revision 1.17
etc/etc.riscv/ttys: revision 1.2
etc/etc.i386/ttys: revision 1.21
etc/etc.aarch64/ttys: revision 1.2
etc/etc.algor/ttys: revision 1.6
etc/etc.sparc/ttys: revision 1.17
etc/etc.mipsco/ttys: revision 1.7
etc/etc.luna68k/ttys: revision 1.9
etc/etc.iyonix/ttys: revision 1.5
etc/etc.evbcf/ttys: revision 1.3
etc/etc.netwinder/ttys: revision 1.9
etc/etc.mvme68k/ttys: revision 1.10
etc/etc.evbarm/ttys: revision 1.8
etc/etc.evbsh3/ttys: revision 1.7
etc/etc.pmax/ttys: revision 1.16
etc/etc.hpcmips/ttys: revision 1.12
etc/etc.vax/ttys: revision 1.10
etc/etc.news68k/ttys: revision 1.10
etc/etc.mvmeppc/ttys: revision 1.7
etc/etc.hppa/ttys: revision 1.2
etc/etc.next68k/ttys: revision 1.11
etc/etc.ews4800mips/ttys: revision 1.3
etc/etc.epoc32/ttys: revision 1.2
etc/etc.emips/ttys: revision 1.2
etc/etc.evbppc/ttys: revision 1.7
etc/etc.sgimips/ttys: revision 1.11
etc/etc.or1k/ttys: revision 1.2
etc/etc.cesfic/ttys: revision 1.6
etc/etc.amd64/ttys: revision 1.7
etc/etc.playstation2/ttys: revision 1.7
etc/etc.zaurus/ttys: revision 1.4
etc/etc.newsmips/ttys: revision 1.10

Switch default console tty from /dev/console to /dev/constty

With this switch processes (such as xconsole) can open /dev/console
without breaking login on the text or serial console. This can be
trivially triggered by enabling xdm in rc.conf and hitting
Ctrl+Alt+F1 or equivalent once booted.

The changes:
- Add entry for /dev/console or /dev/constty if missing
- If a port's had /dev/console 'on' switch it off and enable /dev/constty
- If a port did not have /dev/console 'on', leave /dev/constty off

Some ports had /dev/console off and /dev/ttyE0 enabled, presumably to
avoid just this issue. It may make sense to adjust these also (but not
in this pass)

As discussed on current-users
 1.16.34.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed