summaryrefslogtreecommitdiff
path: root/scripts/build/cc/gcc.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-02-13 09:05:13 (GMT)
committerAlexey Neyman <stilor@att.net>2019-02-13 09:05:13 (GMT)
commit2219aab336c19e3d9f0a67a016f5d28efe43d65c (patch)
treec042c684b09335b5b0df2eff9d6ce69a2abd3c7c /scripts/build/cc/gcc.sh
parent2da27758a9638b07f06d490251f0e44abf398057 (diff)
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/gcc.sh')
-rw-r--r--scripts/build/cc/gcc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
index c6b068c..038db38 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"