From owner-cvs-all Wed Sep 12 15:16:38 2001 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 5394B37B410; Wed, 12 Sep 2001 15:16:23 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f8CMGL615101; Wed, 12 Sep 2001 16:16:22 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.4) with ESMTP id f8CMGLt43250; Wed, 12 Sep 2001 16:16:21 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200109122216.f8CMGLt43250@harmony.village.org> To: Marcel Moolenaar Subject: Re: cvs commit: src/sbin/reboot Makefile Cc: Ruslan Ermilov , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.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> Date: Wed, 12 Sep 2001 16:16:21 -0600 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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