Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc make sure we pickup the powerpc majors file on powerpc64.
details: https://anonhg.NetBSD.org/src/rev/42cb92f9a6d2
branches: trunk
changeset: 753484:42cb92f9a6d2
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Mar 30 07:30:03 2010 +0000
description:
make sure we pickup the powerpc majors file on powerpc64.
from dennis.c.ferguson%gmail.com@localhost in PR#43074.
diffstat:
etc/MAKEDEV.awk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 3dbfd60bed46 -r 42cb92f9a6d2 etc/MAKEDEV.awk
--- a/etc/MAKEDEV.awk Tue Mar 30 07:27:08 2010 +0000
+++ b/etc/MAKEDEV.awk Tue Mar 30 07:30:03 2010 +0000
@@ -1,6 +1,6 @@
#!/usr/bin/awk -
#
-# $NetBSD: MAKEDEV.awk,v 1.20 2008/04/30 13:10:49 martin Exp $
+# $NetBSD: MAKEDEV.awk,v 1.21 2010/03/30 07:30:03 mrg Exp $
#
# Copyright (c) 2003 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -59,7 +59,7 @@
majors[1] = "arch/arm/conf/majors.arm32";
else if (machine == "sbmips")
majors[1] = "arch/evbmips/conf/majors.evbmips";
- else if ((maarch == "powerpc") && system("test -f '" top "arch/" machine "/conf/majors." machine "'") != 0)
+ else if ((maarch == "powerpc" || maarch == "powerpc64") && system("test -f '" top "arch/" machine "/conf/majors." machine "'") != 0)
majors[1] = "arch/powerpc/conf/majors.powerpc";
else
majors[1] = "arch/" machine "/conf/majors." machine;
@@ -211,7 +211,7 @@
print "# Generated from:"
# MAKEDEV.awk (this script) RCS Id
- ARCSID = "$NetBSD: MAKEDEV.awk,v 1.20 2008/04/30 13:10:49 martin Exp $"
+ ARCSID = "$NetBSD: MAKEDEV.awk,v 1.21 2010/03/30 07:30:03 mrg Exp $"
gsub(/\$/, "", ARCSID)
print "# " ARCSID
Home |
Main Index |
Thread Index |
Old Index