summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-04-06 16:23:12 +0000
committerimp <imp@FreeBSD.org>2010-04-06 16:23:12 +0000
commit3cfea60eb1508b9c343083df9fcdaee90697de06 (patch)
tree19efb1e210f0e32736a4052bbf06e19b06dc11eb
parentd03757703dfb933bd066fdfa8840b5df66648cf6 (diff)
downloadFreeBSD-src-3cfea60eb1508b9c343083df9fcdaee90697de06.zip
FreeBSD-src-3cfea60eb1508b9c343083df9fcdaee90697de06.tar.gz
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.
-rw-r--r--tools/tools/nanobsd/nanobsd.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/tools/nanobsd/nanobsd.sh b/tools/tools/nanobsd/nanobsd.sh
index 77e666c..ce518a5 100644
--- a/tools/tools/nanobsd/nanobsd.sh
+++ b/tools/tools/nanobsd/nanobsd.sh
@@ -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`
OpenPOWER on IntegriCloud