From 1b4b03f4084fc08475ccf1bdc3734e0ff9ed37df Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 12 Jul 2019 23:07:06 +0100 Subject: [PATCH] toolchain.eclass: add 'einfo' when last cross-compiler is removed Signed-off-by: Sergei Trofimovich --- eclass/toolchain.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 3d997fb65819..9caed25f55a7 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -2253,6 +2253,7 @@ toolchain_pkg_postrm() { # clean up the cruft left behind by cross-compilers if is_crosscompile ; then if [[ -z $(ls "${EROOT%/}"/etc/env.d/gcc/${CTARGET}* 2>/dev/null) ]] ; then + einfo "Removing last cross-compiler instance. Deleting dangling symlinks." rm -f "${EROOT%/}"/etc/env.d/gcc/config-${CTARGET} rm -f "${EROOT%/}"/etc/env.d/??gcc-${CTARGET} rm -f "${EROOT%/}"/usr/bin/${CTARGET}-{gcc,{g,c}++}{,32,64} -- 2.26.2