2020-12-30 23:03:15 +01:00
|
|
|
#! /usr/bin/env bash
|
|
|
|
|
2021-01-02 00:13:11 +01:00
|
|
|
source util.sh
|
|
|
|
PREFIX="$1"
|
2020-12-30 23:03:15 +01:00
|
|
|
|
2022-08-19 15:23:21 +02:00
|
|
|
echo "$TAG Removing symlinks to $PREFIX/bin..."
|
|
|
|
TOOLS="c++ cpp g++ gcc gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool \
|
|
|
|
lto-dump"
|
|
|
|
|
|
|
|
for t in $TOOLS; do
|
|
|
|
[[ -L "$PREFIX/bin/sh-elf-$t" ]] && rm "$PREFIX/bin/sh-elf-$t"
|
|
|
|
done
|
|
|
|
for l in "$PREFIX"/bin/sh3eb-elf-gcc-*; do
|
|
|
|
[[ -L "$l" ]] && rm "$l"
|
2021-01-02 00:13:11 +01:00
|
|
|
done
|
|
|
|
|
2022-08-19 15:23:21 +02:00
|
|
|
echo "$TAG Other files are managed by the fxSDK's SuperH sysroot"
|
|
|
|
echo "$TAG Uninstall Lephenixnoir/fxsdk to clean up the sysroot"
|