History log of /netbsd/etc/MAKEDEV.awk (Results 1 – 25 of 29)
Revision Date Author Comments
# 78f867e0 13-Jun-2020 thorpej <thorpej@NetBSD.org>

When reading in the MD MAKEDEV.conf, perform block / char major
substitutions that may be present in that file.

PR port-cobalt/55009


# d34e234f 03-Nov-2019 martin <martin@NetBSD.org>

PR port-arm/54640: hack to work around conditional RAW_PART definition in
arm/include/disklabel.h.

Recognize this special case and skip lines between #ifndef RAW_PART and
the next #endif.


# 5de6c2b8 28-Oct-2019 ozaki-r <ozaki-r@NetBSD.org>

Allow including numbers in %XXX_chr% parameter (for upcoming vio9p driver)


# b24e4604 13-Jun-2019 christos <christos@NetBSD.org>

Fix aarch64


# 2d3b5cd6 19-Sep-2014 matt <matt@NetBSD.org>

Teach this to deal with the use of include in majors files.


# 7ebb60b7 20-May-2013 mbalmer <mbalmer@NetBSD.org>

Rename the 'gpio' group to '_gpio' as new group names should start with an
underscore. While here, fix the awk script to properly expand such group
names.


# 6476ad5f 14-Apr-2013 skrll <skrll@NetBSD.org>

Match all the arm machines to get the majors.arm32 file


# cf229238 12-Apr-2013 skrll <skrll@NetBSD.org>

Find the right majors files for earm*


# 99c2a7ae 30-Mar-2010 mrg <mrg@NetBSD.org>

make sure we pickup the powerpc majors file on powerpc64.

from dennis.c.ferguson@gmail.com in PR#43074.


# 11a6dbe7 30-Apr-2008 martin <martin@NetBSD.org>

Convert TNF licenses to new 2 clause variant


# 12d0909e 10-Dec-2007 garbled <garbled@NetBSD.org>

Change to deal with the shared powerpc majors file, copied from the arm32
handling.


# 5764a768 08-Apr-2007 scw <scw@NetBSD.org>

Remove support for NetBSD/{,evb}sh5.


# 5c2f2286 09-Mar-2007 dsl <dsl@NetBSD.org>

Add a globally applied substitution pattern for the console major number.
Use it when creating a temporary node for the console.
MAKEDEV -M should now output what it is doing.


# c4f693fe 14-Jun-2005 he <he@NetBSD.org>

Make a simple fix for inculsion of disklabel.h. Since this script
doesn't do CPP conditionals, just avoid trying to "include" files
in the newly established nbinclude area, the in-tree version in th

Make a simple fix for inculsion of disklabel.h. Since this script
doesn't do CPP conditionals, just avoid trying to "include" files
in the newly established nbinclude area, the in-tree version in the
normal place should work fine.

Fixes build problem for (among several others) cats.

show more ...


# 9f8afc0e 22-Apr-2004 enami <enami@NetBSD.org>

The char position passed to substr() should be 1 origion.


# ef38ad00 18-Mar-2004 enami <enami@NetBSD.org>

Search and replace by hand rather than using gsub() in loop. This reduces
number of search and prevents DFA cache overflow (and script runs faster).


# 3ad4f06f 16-Mar-2004 enami <enami@NetBSD.org>

Add missing close().


# d68daf2d 14-Jan-2004 jdolecek <jdolecek@NetBSD.org>

put a 'Generated from' with RCS Ids of MAKEDEV.awk, MAKEDEV.tmpl and the
MD MAKEDEV.conf into the generated file

don't copy the 'PLEASE RUN ...' paragraph to the generated file

don't copy the list

put a 'Generated from' with RCS Ids of MAKEDEV.awk, MAKEDEV.tmpl and the
MD MAKEDEV.conf into the generated file

don't copy the 'PLEASE RUN ...' paragraph to the generated file

don't copy the list of individual devices to the generated file -
the info is available in MAKEDEV(8) for those who need it

show more ...


# 4ddba21b 19-Dec-2003 lukem <lukem@NetBSD.org>

* Match the source code to the comments, and use $NETBSDSRCDIR
instead of -v ETCDIR.
* Parse $NETBSDSRCDIR/etc/{master.passwd,group} to build a list of
user->uid and group->gid mappings, and repl

* Match the source code to the comments, and use $NETBSDSRCDIR
instead of -v ETCDIR.
* Parse $NETBSDSRCDIR/etc/{master.passwd,group} to build a list of
user->uid and group->gid mappings, and replace %uid_XXX% and %gid_XXX%
appropriately.
* Whitespace & regex tweaks.

show more ...


# 5d0ac15a 08-Dec-2003 dmcmahill <dmcmahill@NetBSD.org>

Improve the portability of this script by escaping some {'s and }'s used
in a regex. Works with Solaris awk as well as gawk now.


# 0ff71b5c 28-Oct-2003 jdolecek <jdolecek@NetBSD.org>

the arm ports are 'arm' and 'armeb'
pointed out by Shoichi Miyake


# b1210ba8 26-Oct-2003 jdolecek <jdolecek@NetBSD.org>

style nits - use / re / instead of "re" for constant REs


# dd2276a2 24-Oct-2003 jdolecek <jdolecek@NetBSD.org>

make friendlier to objdir builds; now expect the caller to set ETCDIR
to the directory with src/etc; top of kernel sources is assumed
to be ETCDIR/../sys

fix error message for case when platform MAK

make friendlier to objdir builds; now expect the caller to set ETCDIR
to the directory with src/etc; top of kernel sources is assumed
to be ETCDIR/../sys

fix error message for case when platform MAKEDEV.conf is not found

show more ...


# 53d94462 24-Oct-2003 jdolecek <jdolecek@NetBSD.org>

fix handling of ARM ports' majors file
fix handling of sbmips majors - it uses the evbmips majors

fetch information about platform RAW_PART, and make it available
to MAKEDEV.tmpl


# 7a46124e 19-Oct-2003 jdolecek <jdolecek@NetBSD.org>

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 M

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

show more ...


12