Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2001 16:16:21 -0600
From:      Warner Losh <imp@harmony.village.org>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        Ruslan Ermilov <ru@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/reboot Makefile 
Message-ID:  <200109122216.f8CMGLt43250@harmony.village.org>
In-Reply-To: Your message of "Wed, 12 Sep 2001 13:46:40 PDT." <20010912134640.A639@dhcp01.pn.xcllnt.net> 
References:  <20010912134640.A639@dhcp01.pn.xcllnt.net>  <200109121221.f8CCL9q93334@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010912134640.A639@dhcp01.pn.xcllnt.net> Marcel Moolenaar writes:
: On Wed, Sep 12, 2001 at 05:21:08AM -0700, Ruslan Ermilov wrote:
: > ru          2001/09/12 05:21:08 PDT
: > 
: >   Modified files:
: >     sbin/reboot          Makefile 
: >   Log:
: >   Use ${MACHINE}, it works with cross-builds.
: 
: Unless something has changed, ${MACHINE} is only valid for kernel
: (related) sources. In userland ${MACHINE_ARCH} must be used
: 
: More specifically, ${MACHINE} can be pc98 while ${MACHINE_ARCH}
: is i386. In userland you want to test for i386; not pc98.

uname -m is the ${MACHINE_ARCH}, so that should be used instead.
Marcel is right.

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109122216.f8CMGLt43250>