diff options
author | Simon Glass <sjg@chromium.org> | 2014-12-01 17:34:06 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-14 21:16:54 -0800 |
commit | 827e37b55869933951e7e7db3693d4df001fd609 (patch) | |
tree | 87a464f7cacf9cfa35ed5cc9d13512ac71217885 /tools/buildman/cmdline.py | |
parent | 9b83bfdcb0baac4c2f986c600a2a7c2e946ad17c (diff) | |
download | u-boot-imx-827e37b55869933951e7e7db3693d4df001fd609.zip u-boot-imx-827e37b55869933951e7e7db3693d4df001fd609.tar.gz u-boot-imx-827e37b55869933951e7e7db3693d4df001fd609.tar.bz2 |
buildman: Add the option to download toolchains from kernel.org
The site at https://www.kernel.org/pub/tools/crosstool/ is a convenient
repository of toolchains which can be used for U-Boot. Add a feature to
download and install a toolchain for a selected architecture automatically.
It isn't clear how long this site will stay in the current place and
format, but we should be able to rely on bug reports if it changes.
Suggested-by: Marek VaĊĦut <marex@denx.de>
Suggested-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/cmdline.py')
-rw-r--r-- | tools/buildman/cmdline.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/buildman/cmdline.py b/tools/buildman/cmdline.py index 6ad376d..e884e19 100644 --- a/tools/buildman/cmdline.py +++ b/tools/buildman/cmdline.py @@ -36,6 +36,10 @@ def ParseArgs(): parser.add_option('-F', '--force-build-failures', dest='force_build_failures', action='store_true', default=False, help='Force build of previously-failed build') + parser.add_option('--fetch-arch', type='string', + help="Fetch a toolchain for architecture FETCH_ARCH ('list' to list)." + ' You can also fetch several toolchains separate by comma, or' + " 'all' to download all") parser.add_option('-g', '--git', type='string', help='Git repo containing branch to build', default='.') parser.add_option('-G', '--config-file', type='string', |