summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorConstantin Musca <constantinx.musca@intel.com>2013-02-04 11:20:23 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-04 16:40:53 +0000
commitb3643415ad91dc77880cc5b95e9ad8cd9aef5c44 (patch)
treeecab3462f90ada8a1585fb0bc81d5c64691f276c /meta/recipes-devtools/gcc
parent98ef35b319320ac9530e31926ad18d5f5ecd87db (diff)
downloadopenembedded-core-b3643415ad91dc77880cc5b95e9ad8cd9aef5c44.tar.gz
openembedded-core-b3643415ad91dc77880cc5b95e9ad8cd9aef5c44.tar.bz2
openembedded-core-b3643415ad91dc77880cc5b95e9ad8cd9aef5c44.zip
gcc: target: fix libiberty removal
- use ${libdir} instead of ${exec_prefix}/lib Fix the following warning: WARNING: QA Issue: gcc: Files/directories were installed but not shipped /usr/lib64/libiberty.a Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.7.inc2
-rw-r--r--meta/recipes-devtools/gcc/gcc-package-target.inc4
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc
index d4caf619a7..2dc81f0543 100644
--- a/meta/recipes-devtools/gcc/gcc-4.7.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.7.inc
@@ -1,6 +1,6 @@
require gcc-common.inc
-PR = "r15"
+PR = "r16"
# Third digit in PV should be incremented after a minor release
# happens from this branch on gcc e.g. currently its 4.7.1
diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc
index c39aaa8bcb..95a92c1f91 100644
--- a/meta/recipes-devtools/gcc/gcc-package-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
@@ -115,8 +115,8 @@ do_install () {
rm -f *gcc-?.?*
# We use libiberty from binutils
- find ${D}${exec_prefix}/lib -name libiberty.a | xargs rm -f
- find ${D}${exec_prefix}/lib -name libiberty.h | xargs rm -f
+ find ${D}${libdir} -name libiberty.a | xargs rm -f
+ find ${D}${libdir} -name libiberty.h | xargs rm -f
# Not sure why we end up with these but we don't want them...
rm -f ${TARGET_PREFIX}${TARGET_PREFIX}*