| History log of /src/etc/MAKEDEV.awk |
| Revision | | Date | Author | Comments |
| 1.29 |
| 13-Jun-2020 |
thorpej | When reading in the MD MAKEDEV.conf, perform block / char major substitutions that may be present in that file.
PR port-cobalt/55009
|
| 1.28 |
| 03-Nov-2019 |
martin | 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.
|
| 1.27 |
| 28-Oct-2019 |
ozaki-r | Allow including numbers in %XXX_chr% parameter (for upcoming vio9p driver)
|
| 1.26 |
| 13-Jun-2019 |
christos | branches: 1.26.2; Fix aarch64
|
| 1.25 |
| 19-Sep-2014 |
matt | branches: 1.25.8; 1.25.16; Teach this to deal with the use of include in majors files.
|
| 1.24 |
| 20-May-2013 |
mbalmer | 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.
|
| 1.23 |
| 14-Apr-2013 |
skrll | Match all the arm machines to get the majors.arm32 file
|
| 1.22 |
| 12-Apr-2013 |
skrll | Find the right majors files for earm*
|
| 1.21 |
| 30-Mar-2010 |
mrg | branches: 1.21.6; 1.21.12; make sure we pickup the powerpc majors file on powerpc64.
from dennis.c.ferguson@gmail.com in PR#43074.
|
| 1.20 |
| 30-Apr-2008 |
martin | branches: 1.20.10; Convert TNF licenses to new 2 clause variant
|
| 1.19 |
| 10-Dec-2007 |
garbled | branches: 1.19.4; 1.19.8; 1.19.10; Change to deal with the shared powerpc majors file, copied from the arm32 handling.
|
| 1.18 |
| 08-Apr-2007 |
scw | branches: 1.18.4; Remove support for NetBSD/{,evb}sh5.
|
| 1.17 |
| 09-Mar-2007 |
dsl | 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.
|
| 1.16 |
| 14-Jun-2005 |
he | branches: 1.16.4; 1.16.6; 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.
|
| 1.15 |
| 22-Apr-2004 |
enami | The char position passed to substr() should be 1 origion.
|
| 1.14 |
| 18-Mar-2004 |
enami | branches: 1.14.2; 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).
|
| 1.13 |
| 16-Mar-2004 |
enami | Add missing close().
|
| 1.12 |
| 14-Jan-2004 |
jdolecek | 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
|
| 1.11 |
| 19-Dec-2003 |
lukem | * 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.
|
| 1.10 |
| 08-Dec-2003 |
dmcmahill | 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.
|
| 1.9 |
| 28-Oct-2003 |
jdolecek | the arm ports are 'arm' and 'armeb' pointed out by Shoichi Miyake
|
| 1.8 |
| 26-Oct-2003 |
jdolecek | style nits - use / re / instead of "re" for constant REs
|
| 1.7 |
| 24-Oct-2003 |
jdolecek | 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
|
| 1.6 |
| 24-Oct-2003 |
jdolecek | 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
|
| 1.5 |
| 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.4 |
| 17-Oct-2003 |
jdolecek | 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
|
| 1.3 |
| 15-Oct-2003 |
itojun | minor KNF
|
| 1.2 |
| 15-Oct-2003 |
jdolecek | read the MD MAKEDEV.conf file and appropriately massage the template contents; outputs fully functional MAKEDEV script now
|
| 1.1 |
| 13-Oct-2003 |
jdolecek | 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
|
| 1.14.2.1 |
| 24-Apr-2004 |
jdc | Pull up revision 1.15 (requested by enami in ticket #175)
The char position passed to substr() should be 1 origion.
|
| 1.16.6.1 |
| 03-Sep-2007 |
wrstuden | Sync w/ NetBSD-4-RC_1
|
| 1.16.4.1 |
| 19-Jul-2007 |
liamjfoy | 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.
|
| 1.18.4.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
| 1.19.10.1 |
| 18-May-2008 |
yamt | sync with head.
|
| 1.19.8.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.19.4.2 |
| 10-Dec-2007 |
garbled | Change to deal with the shared powerpc majors file, copied from the arm32 handling.
|
| 1.19.4.1 |
| 10-Dec-2007 |
garbled | file MAKEDEV.awk was added on branch mjf-devfs on 2007-12-10 17:57:25 +0000
|
| 1.20.10.1 |
| 19-Dec-2013 |
matt | Deal with MACHINE_ARCH of armv7/armv7eb. Split out mips64 compat dirs.
|
| 1.21.12.1 |
| 23-Jun-2013 |
tls | resync from head
|
| 1.21.6.1 |
| 22-May-2014 |
yamt | 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")
|
| 1.25.16.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.25.8.1 |
| 04-Nov-2019 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #1423):
etc/MAKEDEV.awk: revision 1.28
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.
|
| 1.26.2.2 |
| 20-Jun-2020 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #962):
sys/arch/cobalt/conf/majors.cobalt: revision 1.34 etc/MAKEDEV.awk: revision 1.29 etc/etc.cobalt/MAKEDEV.conf: revision 1.18 etc/etc.cobalt/MAKEDEV.conf: revision 1.19
panel -> lcdpanel
Part of PR port-cobalt/55009
When reading in the MD MAKEDEV.conf, perform block / char major substitutions that may be present in that file. PR port-cobalt/55009
Create a compatibility symlink panel0 -> lcdpanel0 PR port-cobalt/55009
Fix leading 8 spaces to a tab.
|
| 1.26.2.1 |
| 04-Nov-2019 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #397):
etc/MAKEDEV.awk: revision 1.28
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.
|