svn commit: r206276 - head/tools/tools/nanobsd

Warner Losh imp at FreeBSD.org
Tue Apr 6 16:23:12 UTC 2010


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`
 


More information about the svn-src-head mailing list