Revision ca5b937a tools/compiler/GCC/gccsetup.sh
tools/compiler/GCC/gccsetup.sh | ||
---|---|---|
191 | 191 |
fi |
192 | 192 |
done |
193 | 193 |
|
194 |
# read download URL form user
|
|
194 |
# read download URL from user
|
|
195 | 195 |
printf "In order to install a compiler, you have to specify a download link for the according installation file.\n" |
196 | 196 |
printf "For this project, the GNU Arm Embedded Toolchain is recommended:\n" |
197 | 197 |
printf " https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm\n" |
... | ... | |
278 | 278 |
mkdir "$dir" |
279 | 279 |
done |
280 | 280 |
fi |
281 |
# copy the extracted compiler folder
|
|
282 |
cp -fR "$compilerdir" "$installdir"
|
|
281 |
# move the extracted compiler folder
|
|
282 |
mv -f "$compilerdir" "$installdir"
|
|
283 | 283 |
# make sure whole link path exists |
284 | 284 |
while [ ! -d "$linkdir" ]; do |
285 | 285 |
local dir="$linkdir" |
... | ... | |
365 | 365 |
|
366 | 366 |
# clean up the current directory |
367 | 367 |
rm "$armgcc_tarball" |
368 |
rm -rf "$compilerdir" |
|
369 | 368 |
|
370 | 369 |
return 0 |
371 | 370 |
} |
Also available in: Unified diff