diff options
author | Constantin Musca <constantinx.musca@intel.com> | 2013-02-04 11:20:23 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-04 16:42:50 +0000 |
commit | f4b0cc562e19c0ba6ef20caa97aa7bc171d0adea (patch) | |
tree | 72514d1b7ec1a3adbea67f8ceef36f0616fb9abd /meta | |
parent | bf6c100ff3aee4cf8bc0ee1e14655281e543b414 (diff) | |
download | poky-f4b0cc562e19c0ba6ef20caa97aa7bc171d0adea.tar.gz |
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
(From OE-Core rev: b3643415ad91dc77880cc5b95e9ad8cd9aef5c44)
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.7.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-package-target.inc | 4 |
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 @@ | |||
1 | require gcc-common.inc | 1 | require gcc-common.inc |
2 | 2 | ||
3 | PR = "r15" | 3 | PR = "r16" |
4 | 4 | ||
5 | # Third digit in PV should be incremented after a minor release | 5 | # Third digit in PV should be incremented after a minor release |
6 | # happens from this branch on gcc e.g. currently its 4.7.1 | 6 | # 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 () { | |||
115 | rm -f *gcc-?.?* | 115 | rm -f *gcc-?.?* |
116 | 116 | ||
117 | # We use libiberty from binutils | 117 | # We use libiberty from binutils |
118 | find ${D}${exec_prefix}/lib -name libiberty.a | xargs rm -f | 118 | find ${D}${libdir} -name libiberty.a | xargs rm -f |
119 | find ${D}${exec_prefix}/lib -name libiberty.h | xargs rm -f | 119 | find ${D}${libdir} -name libiberty.h | xargs rm -f |
120 | 120 | ||
121 | # Not sure why we end up with these but we don't want them... | 121 | # Not sure why we end up with these but we don't want them... |
122 | rm -f ${TARGET_PREFIX}${TARGET_PREFIX}* | 122 | rm -f ${TARGET_PREFIX}${TARGET_PREFIX}* |