gcc-runtime: Avoid error when trying to remove nonexistent directories
authorPhil Blundell <pb@pbcl.net>
Thu, 2 May 2013 12:19:25 +0000 (13:19 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 3 May 2013 15:19:20 +0000 (16:19 +0100)
commitee89293e677fe550b9ba702ebcbe0f817fd3a2a0
tree390e2409eb2be5ba2a9debc91fbda59644b3ce28
parent33edeec4537db989ecc21b36b85f80008f840d85
gcc-runtime: Avoid error when trying to remove nonexistent directories

If we didn't build libgomp then we won't have installed anything into
${infodir} or ${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude.  Check
whether those directories exist before trying to remove them, else we
will lose.

(From OE-Core rev: 507e14ecdc5b4ff2ee7f1128d9f30c2948e10d5a)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-configure-runtime.inc