]> code.ossystems Code Review - openembedded-core.git/commit
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)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 20 May 2013 15:06:14 +0000 (16:06 +0100)
commit78879d1583d082e0d08253ebefbd8c2a288db01c
tree92e3d66f05a2af2bf380b49ebe5c4664631ea5d7
parentc283ab637c7e0501a309dbe9abdf14ad70834c9b
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 master 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