From 2219aab336c19e3d9f0a67a016f5d28efe43d65c Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Wed, 13 Feb 2019 01:05:13 -0800 Subject: Implement an option to store downloads in subdirs ... following the buildroot model. Signed-off-by: Alexey Neyman --- scripts/build/cc/gcc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/build/cc') 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" -- cgit v1.2.3