sh-elf-binutils/uninstall.sh
Lephenixnoir 92ec440af8
new build system for fxSDK sysroot
* Configure and install so stuff ends up in the fxSDK sysroot
* Don't clean by default, make it a configuration called :clean
* :any now only skips build if the compiler is in the sysroot
* Redo README with proper tutorial

Details:
* Proper .gitignore
2022-08-19 15:03:06 +02:00

15 lines
434 B
Bash
Executable file

#! /usr/bin/env bash
source util.sh
PREFIX="$1"
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"
done
echo "$TAG Other files are managed by the fxSDK's SuperH sysroot"
echo "$TAG Uninstall Lephenixnoir/fxsdk to clean up the sysroot"