diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2014-04-02 12:25:35 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-04 11:49:53 +0100 |
commit | 0b62f8b012d8a128f34bd85a26aa97ea939cbf64 (patch) | |
tree | 27332f2391ac909ad739dbbc03982c9d485291c5 | |
parent | 205621e3b9358a455e73122941fbbdcde9b2f2a3 (diff) | |
download | openembedded-core-0b62f8b012d8a128f34bd85a26aa97ea939cbf64.tar.gz openembedded-core-0b62f8b012d8a128f34bd85a26aa97ea939cbf64.tar.bz2 openembedded-core-0b62f8b012d8a128f34bd85a26aa97ea939cbf64.zip |
gcc-target: remove infodir
* it uses autotools but doesn't call autotools_do_install
* fixes QA warning:
gcc-4.8.2: The /usr/share/info/dir file is not meant to be shipped in a particular package.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 = "\ do_install () { oe_runmake 'DESTDIR=${D}' install-host + # Info dir listing isn't interesting at this point so remove it if it exists. + if [ -e "${D}${infodir}/dir" ]; then + rm -f ${D}${infodir}/dir + fi # Cleanup some of the ${libdir}{,exec}/gcc stuff ... rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools |