The NetBSD Project

CVS log for src/etc/MAKEDEV.awk

[BACK] Up to [cvs.NetBSD.org] / src / etc

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.25 / (download) - annotate - [select for diffs], Fri Sep 19 09:01:05 2014 UTC (4 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, HEAD
Changes since 1.24: +7 -4 lines
Diff to previous 1.24 (colored)

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

Revision 1.21.6.1 / (download) - annotate - [select for diffs], Thu May 22 11:27:18 2014 UTC (4 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.20.10.1 / (download) - annotate - [select for diffs], Thu Dec 19 01:15:09 2013 UTC (5 years, 4 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Deal with MACHINE_ARCH of armv7/armv7eb.
Split out mips64 compat dirs.

Revision 1.21.12.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:26:21 2013 UTC (5 years, 10 months ago) by tls
Branch: tls-maxphys
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

resync from head

Revision 1.24 / (download) - annotate - [select for diffs], Mon May 20 11:37:02 2013 UTC (5 years, 11 months ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

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.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Apr 14 13:47:37 2013 UTC (6 years ago) by skrll
Branch: MAIN
CVS Tags: khorben-n900
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

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

Revision 1.22 / (download) - annotate - [select for diffs], Fri Apr 12 12:30:18 2013 UTC (6 years ago) by skrll
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Find the right majors files for earm*

Revision 1.21 / (download) - annotate - [select for diffs], Tue Mar 30 07:30:03 2010 UTC (9 years ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

make sure we pickup the powerpc majors file on powerpc64.

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

Revision 1.19.8.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:19 2008 UTC (10 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.19: +2 -9 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with HEAD.

Revision 1.19.10.1 / (download) - annotate - [select for diffs], Sun May 18 12:29:47 2008 UTC (10 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.19: +2 -9 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Apr 30 13:10:49 2008 UTC (10 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base2, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase
Branch point for: matt-nb5-mips64
Changes since 1.19: +2 -9 lines
Diff to previous 1.19 (colored)

Convert TNF licenses to new 2 clause variant

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:29:48 2008 UTC (11 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.18: +4 -2 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

sync with HEAD

Revision 1.19.4.2 / (download) - annotate - [select for diffs], Mon Dec 10 17:57:25 2007 UTC (11 years, 4 months ago) by garbled
Branch: mjf-devfs
Changes since 1.19.4.1: +342 -0 lines
Diff to previous 1.19.4.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

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

Revision 1.19.4.1, Mon Dec 10 17:57:24 2007 UTC (11 years, 4 months ago) by garbled
Branch: mjf-devfs
Changes since 1.19: +0 -342 lines
FILE REMOVED

file MAKEDEV.awk was added on branch mjf-devfs on 2007-12-10 17:57:25 +0000

Revision 1.19 / (download) - annotate - [select for diffs], Mon Dec 10 17:57:24 2007 UTC (11 years, 4 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Branch point for: yamt-pf42, mjf-devfs2, mjf-devfs
Changes since 1.18: +4 -2 lines
Diff to previous 1.18 (colored)

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

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Mon Sep 3 06:57:46 2007 UTC (11 years, 7 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.16: +3 -6 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync w/ NetBSD-4-RC_1

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Thu Jul 19 14:38:23 2007 UTC (11 years, 9 months ago) by liamjfoy
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0
Changes since 1.16: +3 -6 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Pull up following revision(s) (requested by soren in ticket #774):
	build.sh: revision 1.169
	gnu/usr.bin/gcc4/backend/Makefile: revision 1.9
	sys/arch/evbsh5/README: revision 1.1
	distrib/notes/common/contents: revision 1.124
	usr.sbin/ndbootd/ndbootd.c: revision 1.12
	gnu/lib/libopcodes/arch/sh3eb/defs.mk: revision 1.4
	gnu/lib/libbfd/arch/sh3eb/defs.mk: revision 1.8
	libexec/ld.elf_so/Makefile: revision 1.78
	gnu/dist/binutils/bfd/config.bfd: revision 1.14
	doc/HACKS: revision 1.93
	distrib/cdrom/current.conf: revision 1.8
	gnu/lib/libgcc4/Makefile.inc: revision 1.6
	share/mk/sys.mk: revision 1.90
	distrib/sets/lists/base/mi: revision 1.700
	libexec/ld.elf_so/rtld.c: revision 1.112
	distrib/sets/lists/base/mi: revision 1.702
	sys/arch/sh5/README: revision 1.1
	gnu/lib/libbfd/arch/sh3el/bfd.h: revision 1.7
	usr.sbin/traceroute/traceroute.c: revision 1.69
	distrib/notes/common/main: revision 1.330
	distrib/notes/common/list-setsizes.sh: revision 1.2
	sys/arch/Makefile: revision 1.35
	gnu/lib/libopcodes/arch/sh3el/defs.mk: revision 1.4
	gnu/lib/libbfd/arch/sh3el/defs.mk: revision 1.8
	share/mk/bsd.own.mk: revision 1.495
	gnu/lib/libbfd/arch/sh3eb/bfd.h: revision 1.7
	x11/lib/OSmesa/Makefile: revision 1.20
	sys/dev/dkwedge/dkwedge_bsdlabel.c: revision 1.13
	gnu/dist/binutils/opcodes/configure.in: revision 1.2
	gnu/dist/binutils/opcodes/configure: revision 1.2
	gnu/usr.bin/send-pr/categories: revision 1.53
	etc/mtree/NetBSD.dist: revision 1.339
	sys/arch/README: revision 1.42
	lib/libc/gdtoa/Makefile.inc: revision 1.6
	usr.bin/crunch/crunchide/Makefile: revision 1.16
	sys/lkm/net/bsdcomp/Makefile: revision 1.5
	regress/sys/uvm/Makefile: revision 1.6
	etc/MAKEDEV.awk: revision 1.18
	x11/Xserver/GL/GLcore/Makefile.GLcore: revision 1.10
	sys/contrib/dev/ath/netbsd/Makefile.ath.inc: revision 1.14
	gnu/lib/libbfd/Makefile: revision 1.42
	doc/RESPONSIBLE: revision 1.78
Remove evbsh5.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Apr 8 09:35:25 2007 UTC (12 years ago) by scw
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.17: +3 -6 lines
Diff to previous 1.17 (colored)

Remove support for NetBSD/{,evb}sh5.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Mar 9 13:57:54 2007 UTC (12 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.16: +8 -2 lines
Diff to previous 1.16 (colored)

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.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jun 14 20:47:46 2005 UTC (13 years, 10 months ago) by he
Branch: MAIN
CVS Tags: netbsd-4-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: wrstuden-fixsa, netbsd-4
Changes since 1.15: +6 -3 lines
Diff to previous 1.15 (colored)

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.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Sat Apr 24 17:48:39 2004 UTC (15 years ago) by jdc
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Pull up revision 1.15 (requested by enami in ticket #175)

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

Revision 1.15 / (download) - annotate - [select for diffs], Thu Apr 22 23:02:39 2004 UTC (15 years ago) by enami
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

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

Revision 1.14 / (download) - annotate - [select for diffs], Thu Mar 18 22:51:59 2004 UTC (15 years, 1 month ago) by enami
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.13: +46 -15 lines
Diff to previous 1.13 (colored)

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).

Revision 1.13 / (download) - annotate - [select for diffs], Tue Mar 16 23:08:10 2004 UTC (15 years, 1 month ago) by enami
Branch: MAIN
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

Add missing close().

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jan 14 20:37:51 2004 UTC (15 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.11: +38 -4 lines
Diff to previous 1.11 (colored)

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

Revision 1.11 / (download) - annotate - [select for diffs], Fri Dec 19 06:04:16 2003 UTC (15 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.10: +48 -12 lines
Diff to previous 1.10 (colored)

* 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.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Dec 8 23:49:25 2003 UTC (15 years, 4 months ago) by dmcmahill
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

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.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Oct 28 11:34:14 2003 UTC (15 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Sun Oct 26 13:40:46 2003 UTC (15 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.7: +7 -7 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Fri Oct 24 19:57:36 2003 UTC (15 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.6: +4 -7 lines
Diff to previous 1.6 (colored)

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

Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 24 08:27:26 2003 UTC (15 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.5: +19 -14 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Sun Oct 19 19:07:26 2003 UTC (15 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.4: +65 -14 lines
Diff to previous 1.4 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Fri Oct 17 19:01:49 2003 UTC (15 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.3: +27 -4 lines
Diff to previous 1.3 (colored)

improve error checking, and bail out early, instead of looping
when filtering the template, leave only the wanted makedisk_p*() routine
in the output
as pointed out by David Laight

also make it mandatory for MACHINE and MACHINE_ARCH to be set in
environment; it would be possible to use use uname -p/-m, but better
to catch possible cross-build mistakes sooner than later

Revision 1.3 / (download) - annotate - [select for diffs], Wed Oct 15 21:40:49 2003 UTC (15 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

minor KNF

Revision 1.2 / (download) - annotate - [select for diffs], Wed Oct 15 19:43:00 2003 UTC (15 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.1: +28 -1 lines
Diff to previous 1.1 (colored)

read the MD MAKEDEV.conf file and appropriately massage the template
contents; outputs fully functional MAKEDEV script now

Revision 1.1 / (download) - annotate - [select for diffs], Mon Oct 13 09:37:45 2003 UTC (15 years, 6 months ago) by jdolecek
Branch: MAIN

the main parts of new unified MAKEDEV framework - MAKEDEV template
and script for generating the MD MAKEDEV
this is work in progress, some parts are still missing

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>