sh-elf-binutils/uninstall.sh

16 lines
434 B
Bash
Raw Permalink Normal View History

2021-01-01 23:22:19 +01:00
#! /usr/bin/env bash
source util.sh
2021-01-02 10:37:48 +01:00
PREFIX="$1"
2021-01-01 23:22:19 +01:00
echo "$TAG Removing symlinks to $PREFIX/bin..."
TOOLS="addr2line ar as c++filt elfedit gprof ld ld.bfd nm objcopy objdump \
ranlib readelf size strings strip"
for t in $TOOLS; do
[[ -L "$PREFIX/bin/sh-elf-$t" ]] && rm "$PREFIX/bin/sh-elf-$t"
2021-01-01 23:22:19 +01:00
done
echo "$TAG Other files are managed by the fxSDK's SuperH sysroot"
echo "$TAG Uninstall Lephenixnoir/fxsdk to clean up the sysroot"