summaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-08-08 05:49:16 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-08-08 05:49:16 (GMT)
commit4c8261410d2e5c709f36bd3601bb27dc349a91d5 (patch)
tree00f3146f4e9f50c6d539e6d18632a4776258031b /index.html
parent9bb2c2492536d10b7980638318d0eaacc81a9f9e (diff)
downloadmxe-4c8261410d2e5c709f36bd3601bb27dc349a91d5.zip
mxe-4c8261410d2e5c709f36bd3601bb27dc349a91d5.tar.gz
mxe-4c8261410d2e5c709f36bd3601bb27dc349a91d5.tar.bz2
doc update: add notes about gmake options and settings.mk usage
Diffstat (limited to 'index.html')
-rw-r--r--index.html48
1 files changed, 45 insertions, 3 deletions
diff --git a/index.html b/index.html
index 85a7bc8..b12cbc1 100644
--- a/index.html
+++ b/index.html
@@ -11,6 +11,9 @@
font-size: 11pt;
margin-top: 0em;
}
+ code {
+ background-color: #f5f5f5;
+ }
h1, h2, h3 {
font-family: sans-serif;
}
@@ -899,7 +902,9 @@ USE_OSGPLUGIN(&lt;plugin2&gt;)
All build commands also download the packages if necessary.
</p>
<p>
- In a BSD userland, substitute "make" with "gmake".
+ In a BSD userland, substitute "make" with "gmake"
+ as all commands are based on
+ <a href="http://www.gnu.org/software/make/manual/make.html">GNU Make</a>.
</p>
<dl class="usage">
@@ -926,13 +931,50 @@ USE_OSGPLUGIN(&lt;plugin2&gt;)
non-parallel
</dd>
- <dt>make foo bar -j 4 JOBS=2</dt>
+ <dd>
+ the package list can also be set in
+ <code>settings.mk</code>
+ <pre>LOCAL_PKG_LIST := foo bar
+.DEFAULT local-pkg-list:
+local-pkg-list: $(LOCAL_PKG_LIST)</pre>
+ </dd>
+ <dd>
+ so a call to <code>make</code> will only build those packages (and their
+ dependencies, of course)
+ </dd>
+
+ <dt>make foo bar --touch</dt>
+
+ <dd>
+ mark packages "foo" and "bar" as up-to-date after
+ a trivial change in one of their dependencies
+ (short option "-t")
+ </dd>
+
+ <dt>make foo bar --jobs=4 JOBS=2</dt>
<dd>
build packages "foo", "bar" and their dependencies,
- where up to 4 packages are build in parallel,
+ where up to 4 packages are built in parallel
+ (short option "-j 4"),
each with up to 2 compiler processes running in parallel
</dd>
+ <dd>
+ the JOBS variable can also be defined in
+ <code>settings.mk</code> and defaults to the number
+ of CPUs up to a max of 6 to prevent runaway system
+ load with diminishing returns - see the
+ <a href="http://www.gnu.org/software/make/manual/make.html#Parallel">GNU Make manual</a>
+ for more details on parallel execution
+ </dd>
+
+ <dt>make --jobs=4 --keep-going</dt>
+
+ <dd>
+ build all packages with 4 inter-package parallel
+ jobs and continue as much as possible after an error
+ (short option "-j 4 -k")
+ </dd>
<dt>make check-requirements</dt>