Source-Changes-HG archive

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

[src/netbsd-2-0]: src/usr.sbin/amd/libamu Pull up revision 1.4 (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/d4f33fcdcd66
branches:  netbsd-2-0
changeset: 564822:d4f33fcdcd66
user:      riz <riz%NetBSD.org@localhost>
date:      Sat Aug 13 23:14:48 2005 +0000

description:
Pull up revision 1.4 (requested by nakayama in ticket #5560):
Embed machine and cpu architecture correctly from target host environment,
not from build host.
Pointed out by Davide Zanon and Rui Paulo in current-users@.

diffstat:

 usr.sbin/amd/libamu/mkconf |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 306dfd47d3b3 -r d4f33fcdcd66 usr.sbin/amd/libamu/mkconf
--- a/usr.sbin/amd/libamu/mkconf        Sun Aug 07 15:57:54 2005 +0000
+++ b/usr.sbin/amd/libamu/mkconf        Sat Aug 13 23:14:48 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: mkconf,v 1.3 2004/01/11 18:37:35 christos Exp $
+#      $NetBSD: mkconf,v 1.3.2.1 2005/08/13 23:14:48 riz Exp $
 #
 # mkconf
 # Generate local configuration parameters for amd
@@ -8,10 +8,10 @@
 /* Automatically generated file, do not edit! */
 
 /* Define name of host machine's architecture (eg. sun4) */
-#define HOST_ARCH "`uname -m`"
+#define HOST_ARCH MACHINE
 
 /* Define name of host machine's cpu (eg. sparc) */
-#define HOST_CPU "`uname -p`"
+#define HOST_CPU MACHINE_ARCH
  
 /* Define the header version of (linux) hosts (eg. 2.2.10) */
 #define HOST_HEADER_VERSION "$1"



Home | Main Index | Thread Index | Old Index