diff options
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-target.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc index e1179ac292..3412aa89a8 100644 --- a/meta/recipes-devtools/gcc/gcc-target.inc +++ b/meta/recipes-devtools/gcc/gcc-target.inc | |||
@@ -104,6 +104,10 @@ FILES_${PN}-doc = "\ | |||
104 | 104 | ||
105 | do_install () { | 105 | do_install () { |
106 | oe_runmake 'DESTDIR=${D}' install-host | 106 | oe_runmake 'DESTDIR=${D}' install-host |
107 | # Info dir listing isn't interesting at this point so remove it if it exists. | ||
108 | if [ -e "${D}${infodir}/dir" ]; then | ||
109 | rm -f ${D}${infodir}/dir | ||
110 | fi | ||
107 | 111 | ||
108 | # Cleanup some of the ${libdir}{,exec}/gcc stuff ... | 112 | # Cleanup some of the ${libdir}{,exec}/gcc stuff ... |
109 | rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools | 113 | rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools |