Module Name: src Committed By: skrll Date: Sun Apr 14 13:47:37 UTC 2013
Modified Files: src/etc: MAKEDEV.awk Log Message: Match all the arm machines to get the majors.arm32 file To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/etc/MAKEDEV.awk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/etc/MAKEDEV.awk diff -u src/etc/MAKEDEV.awk:1.22 src/etc/MAKEDEV.awk:1.23 --- src/etc/MAKEDEV.awk:1.22 Fri Apr 12 12:30:18 2013 +++ src/etc/MAKEDEV.awk Sun Apr 14 13:47:37 2013 @@ -1,6 +1,6 @@ #!/usr/bin/awk - # -# $NetBSD: MAKEDEV.awk,v 1.22 2013/04/12 12:30:18 skrll Exp $ +# $NetBSD: MAKEDEV.awk,v 1.23 2013/04/14 13:47:37 skrll Exp $ # # Copyright (c) 2003 The NetBSD Foundation, Inc. # All rights reserved. @@ -55,7 +55,7 @@ BEGIN { # file with major definitions majors[0] = "conf/majors" - if ((maarch == "arm" || maarch == "armeb" || maarch == "earm" || maarch == "earmeb") && system("test -f '" top "arch/" machine "/conf/majors." machine "'") != 0) + if (index(maarch, "arm") != 0 && system("test -f '" top "arch/" machine "/conf/majors." machine "'") != 0) majors[1] = "arch/arm/conf/majors.arm32"; else if (machine == "sbmips") majors[1] = "arch/evbmips/conf/majors.evbmips"; @@ -211,7 +211,7 @@ BEGIN { print "# Generated from:" # MAKEDEV.awk (this script) RCS Id - ARCSID = "$NetBSD: MAKEDEV.awk,v 1.22 2013/04/12 12:30:18 skrll Exp $" + ARCSID = "$NetBSD: MAKEDEV.awk,v 1.23 2013/04/14 13:47:37 skrll Exp $" gsub(/\$/, "", ARCSID) print "# " ARCSID