diff options
author | Alexey Neyman <stilor@att.net> | 2019-02-13 01:05:13 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2019-02-13 01:05:13 -0800 |
commit | 2219aab336c19e3d9f0a67a016f5d28efe43d65c (patch) | |
tree | c042c684b09335b5b0df2eff9d6ce69a2abd3c7c /scripts/build/cc | |
parent | 2da27758a9638b07f06d490251f0e44abf398057 (diff) | |
download | crosstool-ng-2219aab336c19e3d9f0a67a016f5d28efe43d65c.tar.gz crosstool-ng-2219aab336c19e3d9f0a67a016f5d28efe43d65c.tar.bz2 crosstool-ng-2219aab336c19e3d9f0a67a016f5d28efe43d65c.zip |
Implement an option to store downloads in subdirs
... following the buildroot model.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/cc')
-rw-r--r-- | scripts/build/cc/gcc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index c6b068c2..038db38e 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -14,8 +14,8 @@ do_cc_get() { # GCC source tree, which will not be there unless we get it and # put it there ourselves if [ "${CT_CC_LANG_JAVA_USE_ECJ}" = "y" ]; then - if ! CT_GetFile package=ecj basename=ecj-latest extensions=.jar \ - mirrors=$(CT_Mirrors sourceware java); then + if ! CT_GetFile package=ecj basename=ecj-latest extensions=.jar dir_name=gcc \ + mirrors="$(CT_Mirrors sourceware java)"; then # Should be a package, too - but with Java retirement in GCC, # it may not make sense. CT_Abort "Failed to download ecj-latest.jar" |