Home | History | Annotate | Download | only in common
History log of /src/distrib/common/Makefile.makedev
RevisionDateAuthorComments
 1.19  10-Aug-2014  matt Changes to existing files to enable building AARCH64 userland.
evbarm64-el
This is clang only. While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.
 1.18  10-Aug-2012  matt branches: 1.18.2;
Add a dependency on etc.${MACHINE}/MAKEDEV.conf
 1.17  20-Jul-2012  matt Add a dependency for Makefile so that when you add device to the Makefile
it will automatically regenerate the device mtree file and cause the ramdisk
to be updated.
 1.16  18-Feb-2012  njoly Tweak MAKEDEVSPEC target to properly report MAKEDEV failures:
- No need to ignore `rm -f' failures which should not happen.
- Do not pipe MAKEDEV output, but use a temp file.
 1.15  25-Oct-2008  apb branches: 1.15.18;
Use ${TOOL_SED} instead if plain sed in Makefiles.
 1.14  03-May-2008  tsutsui Fix tyop.
 1.13  03-Mar-2007  apb branches: 1.13.12; 1.13.14;
MAKEDEV.subr no longer exists. Don't install it in any ramdisk
or miniroot images.
 1.12  01-Mar-2007  apb Invent MAKEDEVSUBR and add it to IMAGEDEPENDS and PARSELISTENV if
appropriate. Previously, IMAGEDEPENDS did not include MAKEDEV.subr.
 1.11  04-May-2004  lukem Remove "./dev type=dir" entry from generated devices.spec, as it
causes the ownership of ${.OBJDIR}/work/dev to be used in the image
instead of that from the earlier entry in work.spec.
 1.10  04-May-2004  lukem MAKEVERBOSE support
 1.9  01-Jan-2004  lukem When using "MAKEDEV -s" to generate a specfile, rewrite the paths from
"./" -> "./dev/". Noted by Tetsuya Isaki <isaki@NetBSD.org> in private mail.
 1.8  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.7  25-Oct-2003  lukem Update for MAKEDEV.tmpl changes; use <.OBJDIR-of-etc>/MAKEDEV
instead of etc/etc.${MACHINE}/MAKEDEV
 1.6  08-May-2003  christos use ${HOST_SH}
 1.5  11-Mar-2003  lukem add multiple-include protection.
clean up some comments.
 1.4  10-Mar-2003  lukem a minor heads-up. (if i got bit by this, someone else might)
 1.3  01-Jun-2002  lukem correct a comment
 1.2  26-Apr-2002  lukem branches: 1.2.2;
replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.1  08-Feb-2002  lukem - cleanup image device creation: add Makefile.makedev & list.makedev,
remove dist/*, now that they're not needed.
if MAKEDEVTARGETS is set, use MAKEDEV.wrapper and makedev2spec.awk to
create an mtree specfile containing the devices that would be made with
"etc/etc.${MACHINE}/MAKEDEV $MAKEDEVTARGETS".
otherwise, copy etc/etc.${MACHINE}/MAKEDEV to dev/MAKEDEV (via list.makedev)
- add mtree.common; contains directories used by all images, and optional
entries for dist/*
 1.2.2.1  02-Jun-2002  tv Pull up revision 1.3 (requested by lukem in ticket #126):
correct a comment
 1.13.14.1  18-May-2008  yamt sync with head.
 1.13.12.2  05-Oct-2008  mjf Sync with HEAD.
 1.13.12.1  02-Jun-2008  mjf Sync with HEAD.
 1.15.18.2  30-Oct-2012  yamt sync with head
 1.15.18.1  17-Apr-2012  yamt sync with head
 1.18.2.1  19-Aug-2014  tls Rebase to HEAD as of a few days ago.

RSS XML Feed