aboutsummaryrefslogtreecommitdiff
path: root/tools/buildman/README
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-10-04 14:33:51 -0700
committersjg <sjg@chromium.org>2016-10-09 09:30:32 -0600
commitd5fe013ceefe72466f192fd17f1dae8ce29684ef (patch)
treebe6c6b7c4a25b83972848cb75ce75ca979dd617d /tools/buildman/README
parentf40fa9b36f42794cc8d778eb0e8d26cfb0c40bed (diff)
downloadu-boot-d5fe013ceefe72466f192fd17f1dae8ce29684ef.zip
u-boot-d5fe013ceefe72466f192fd17f1dae8ce29684ef.tar.gz
u-boot-d5fe013ceefe72466f192fd17f1dae8ce29684ef.tar.bz2
tools: buildman: Add compiler wrapper
Now we can use compiler wrapper such as ccache or distcc for buildman. Signed-off-by: York Sun <york.sun@nxp.com> CC: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/README')
-rw-r--r--tools/buildman/README9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/buildman/README b/tools/buildman/README
index 8c5f861..514bebc 100644
--- a/tools/buildman/README
+++ b/tools/buildman/README
@@ -211,6 +211,15 @@ arm: arm-none-eabi-
and buildman will find arm-none-eabi-gcc in /usr/bin if you have it installed.
+[toolchain-wrapper]
+wrapper: ccache
+
+This tells buildman to use a compiler wrapper in front of CROSS_COMPILE. In
+this example, ccache. It doesn't affect the toolchain scan. The wrapper is
+added when CROSS_COMPILE environtal variable is set. The name in this
+section is ignored. If more than one line is provided, only the last one
+is taken.
+
3. Make sure you have the require Python pre-requisites
Buildman uses multiprocessing, Queue, shutil, StringIO, ConfigParser and