From 01d8113f8b88faf2df740005ba814644d560b50f Mon Sep 17 00:00:00 2001 From: Marin D Date: Mon, 26 Jan 2026 21:33:27 +0100 Subject: [PATCH] modify: remove xtensa-tarfile after installation (#26326) Signed-off-by: Marin Doetterer --- Tools/setup/ubuntu.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Tools/setup/ubuntu.sh b/Tools/setup/ubuntu.sh index 95173279b8..a1cbc78864 100755 --- a/Tools/setup/ubuntu.sh +++ b/Tools/setup/ubuntu.sh @@ -176,8 +176,10 @@ if [[ $INSTALL_NUTTX == "true" ]]; then echo echo "Fetching Xtensa compilers" - wget -q -P $DIR https://github.com/espressif/crosstool-NG/releases/download/esp-13.2.0_20240530/xtensa-esp-elf-13.2.0_20240530-x86_64-linux-gnu.tar.xz - sudo tar -xf $DIR/xtensa-esp-elf-13.2.0_20240530-x86_64-linux-gnu.tar.xz -C /opt + XTENSA_FILE_NAME=xtensa-esp-elf-13.2.0_20240530-x86_64-linux-gnu.tar.xz + wget -q -P $DIR https://github.com/espressif/crosstool-NG/releases/download/esp-13.2.0_20240530/$XTENSA_FILE_NAME + sudo tar -xf $DIR/$XTENSA_FILE_NAME -C /opt + rm $DIR/$XTENSA_FILE_NAME echo 'export PATH=$PATH:/opt/xtensa-esp-elf/bin/' >> /home/$USER/.bashrc fi