Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc Match all the arm machines to get the majors.arm32 file
details: https://anonhg.NetBSD.org/src/rev/5da7bfb426c6
branches: trunk
changeset: 786079:5da7bfb426c6
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Apr 14 13:47:37 2013 +0000
description:
Match all the arm machines to get the majors.arm32 file
diffstat:
etc/MAKEDEV.awk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 5aee4352f1fd -r 5da7bfb426c6 etc/MAKEDEV.awk
--- a/etc/MAKEDEV.awk Sun Apr 14 13:18:23 2013 +0000
+++ b/etc/MAKEDEV.awk Sun Apr 14 13:47:37 2013 +0000
@@ -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 @@
# 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 @@
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
Home |
Main Index |
Thread Index |
Old Index