From owner-freebsd-bugs@FreeBSD.ORG Fri Feb 20 03:30:04 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B5DB106566B for ; Fri, 20 Feb 2009 03:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 794ED8FC14 for ; Fri, 20 Feb 2009 03:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1K3U4Gv087808 for ; Fri, 20 Feb 2009 03:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1K3U4jo087803; Fri, 20 Feb 2009 03:30:04 GMT (envelope-from gnats) Date: Fri, 20 Feb 2009 03:30:04 GMT Message-Id: <200902200330.n1K3U4jo087803@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Yoshihiro Ota Cc: Subject: Re: kern/126926: [build] [patch] Add MACHINE to dmesg X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Yoshihiro Ota List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 03:30:04 -0000 The following reply was made to PR kern/126926; it has been noted by GNATS. From: Yoshihiro Ota To: bug-followup@FreeBSD.org Cc: gavin@freebsd.org Subject: Re: kern/126926: [build] [patch] Add MACHINE to dmesg Date: Thu, 19 Feb 2009 22:27:16 -0500 Hi Gavin, "man make" and "man build" confused me a lot. man make: MACHINE Name of the machine architecture make is running on, obtained from the MACHINE environment variable, or through uname(3) if not defined. MACHINE_ARCH Name of the machine architecture make was compiled for, defined at compilation time. man build: TARGET The target hardware platform. This is analogous to the ``uname -m'' output. This is necessary to cross-build some target architectures. For example, cross-building for PC98 machines requires TARGET_ARCH=i386 and TARGET=pc98. If not set, TARGET defaults to the current hardware platform. TARGET_ARCH The target machine processor architecture. This is analogous to the ``uname -p'' output. Set this to cross-build for a different architecture. If not set, TARGET_ARCH defaults to the current machine architec- ture. So, it seems this is where these values are set to corss-builds. # Common environment for world related stages CROSSENV= MAKEOBJDIRPREFIX=${OBJTREE} \ MACHINE_ARCH=${TARGET_ARCH} \ MACHINE=${TARGET} \ CPUTYPE=${TARGET_CPUTYPE} \ GROFF_BIN_PATH=${WORLDTMP}/legacy/usr/bin \ GROFF_FONT_PATH=${WORLDTMP}/legacy/usr/share/groff_font \ GROFF_TMAC_PATH=${WORLDTMP}/legacy/usr/share/tmac Is that right? Regards, Hiro