Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2010 16:23:12 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r206276 - head/tools/tools/nanobsd
Message-ID:  <201004061623.o36GNCEL016549@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Tue Apr  6 16:23:12 2010
New Revision: 206276
URL: http://svn.freebsd.org/changeset/base/206276

Log:
  Fix comment about NANO_ARCH.  It can be set now.  Also add a warning
  about how it confuses TARGET and TARGET_ARCH and the need to separate
  the two out into independent variables.

Modified:
  head/tools/tools/nanobsd/nanobsd.sh

Modified: head/tools/tools/nanobsd/nanobsd.sh
==============================================================================
--- head/tools/tools/nanobsd/nanobsd.sh	Tue Apr  6 15:53:59 2010	(r206275)
+++ head/tools/tools/nanobsd/nanobsd.sh	Tue Apr  6 16:23:12 2010	(r206276)
@@ -132,7 +132,10 @@ NANO_MD_BACKING="file"
 PPLEVEL=3
 
 #######################################################################
-# Not a variable at this time
+# Architecture to build.  Corresponds to TARGET_ARCH in a buildworld.
+# Unfortunately, there's no way to set TARGET at this time, and it 
+# conflates the two, so architectures where TARGET != TARGET_ARCH do
+# not work.  This defaults to the arch of the current machine.
 
 NANO_ARCH=`uname -p`
 



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