Find the right majors files for earm*

This commit is contained in:
skrll 2013-04-12 12:30:18 +00:00
parent 32d6075c95
commit 79d4c5e554
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/awk - #!/usr/bin/awk -
# #
# $NetBSD: MAKEDEV.awk,v 1.21 2010/03/30 07:30:03 mrg Exp $ # $NetBSD: MAKEDEV.awk,v 1.22 2013/04/12 12:30:18 skrll Exp $
# #
# Copyright (c) 2003 The NetBSD Foundation, Inc. # Copyright (c) 2003 The NetBSD Foundation, Inc.
# All rights reserved. # All rights reserved.
@ -55,7 +55,7 @@ BEGIN {
# file with major definitions # file with major definitions
majors[0] = "conf/majors" majors[0] = "conf/majors"
if ((maarch == "arm" || maarch == "armeb") && system("test -f '" top "arch/" machine "/conf/majors." machine "'") != 0) if ((maarch == "arm" || maarch == "armeb" || maarch == "earm" || maarch == "earmeb") && system("test -f '" top "arch/" machine "/conf/majors." machine "'") != 0)
majors[1] = "arch/arm/conf/majors.arm32"; majors[1] = "arch/arm/conf/majors.arm32";
else if (machine == "sbmips") else if (machine == "sbmips")
majors[1] = "arch/evbmips/conf/majors.evbmips"; majors[1] = "arch/evbmips/conf/majors.evbmips";
@ -211,7 +211,7 @@ BEGIN {
print "# Generated from:" print "# Generated from:"
# MAKEDEV.awk (this script) RCS Id # MAKEDEV.awk (this script) RCS Id
ARCSID = "$NetBSD: MAKEDEV.awk,v 1.21 2010/03/30 07:30:03 mrg Exp $" ARCSID = "$NetBSD: MAKEDEV.awk,v 1.22 2013/04/12 12:30:18 skrll Exp $"
gsub(/\$/, "", ARCSID) gsub(/\$/, "", ARCSID)
print "# " ARCSID print "# " ARCSID