Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc Fix aarch64



details:   https://anonhg.NetBSD.org/src/rev/83c7ca11b7e9
branches:  trunk
changeset: 451989:83c7ca11b7e9
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jun 13 20:54:04 2019 +0000

description:
Fix aarch64

diffstat:

 etc/MAKEDEV.awk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 97d5736b5003 -r 83c7ca11b7e9 etc/MAKEDEV.awk
--- a/etc/MAKEDEV.awk   Thu Jun 13 20:53:33 2019 +0000
+++ b/etc/MAKEDEV.awk   Thu Jun 13 20:54:04 2019 +0000
@@ -1,6 +1,6 @@
 #!/usr/bin/awk -
 #
-#      $NetBSD: MAKEDEV.awk,v 1.25 2014/09/19 09:01:05 matt Exp $
+#      $NetBSD: MAKEDEV.awk,v 1.26 2019/06/13 20:54:04 christos Exp $
 #
 # Copyright (c) 2003 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -55,7 +55,7 @@
 
        # file with major definitions
        majors[0] = "conf/majors"
-       if (index(maarch, "arm") != 0 && system("test -f '" top "arch/" machine "/conf/majors." machine "'") != 0)
+       if ((index(maarch, "arm") != 0 || index(maarch, "aarch64")) && 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";
@@ -214,7 +214,7 @@
        print "# Generated from:"
 
        # MAKEDEV.awk (this script) RCS Id
-       ARCSID = "$NetBSD: MAKEDEV.awk,v 1.25 2014/09/19 09:01:05 matt Exp $"
+       ARCSID = "$NetBSD: MAKEDEV.awk,v 1.26 2019/06/13 20:54:04 christos Exp $"
        gsub(/\$/, "", ARCSID)
        print "#        " ARCSID
        



Home | Main Index | Thread Index | Old Index