diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2012-03-23 12:31:49 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-23 12:13:06 +0000 |
commit | 7987452087a90ba556d540ca9238247a06150f56 (patch) | |
tree | a19398c1eeabba1df64f151e50b58ab5f622b7a1 /meta | |
parent | a6ec59c4b29d8ccc63d16fc98ab1e5410130ee12 (diff) | |
download | poky-7987452087a90ba556d540ca9238247a06150f56.tar.gz |
gdb-cross-canadian: not shipping libiberty.
Fixed package QA warnings.
WARNING: QA Issue: non -staticdev package contains static .a library:
gdb-cross-canadian-i586 path
'/work/x86_64-nativesdk-pokysdk-linux/gdb-cross-canadian-i586-7.4-r6.3/packages-split/gdb-cross-canadian-i586/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/lib/libiberty.a'
(From OE-Core rev: 231cdeec05f82a8b16141098ca9ca6df41ebe396)
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 6 | ||||
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc index a7cac615d8..47d7d28a2b 100644 --- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc | |||
@@ -23,3 +23,9 @@ exit 0 | |||
23 | EOF | 23 | EOF |
24 | chmod +x ${WORKDIR}/python | 24 | chmod +x ${WORKDIR}/python |
25 | } | 25 | } |
26 | |||
27 | # we don't want gdb to provide bfd/iberty/opcodes, which instead will override the | ||
28 | # right bits installed by binutils. | ||
29 | do_install_append() { | ||
30 | rm -rf ${D}${exec_prefix}/lib | ||
31 | } | ||
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb index dbcffde4e9..dfb7d8122a 100644 --- a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | require gdb-common.inc | 1 | require gdb-common.inc |
2 | require gdb-cross-canadian.inc | 2 | require gdb-cross-canadian.inc |
3 | 3 | ||
4 | PR = "${INC_PR}.3" | 4 | PR = "${INC_PR}.4" |
5 | 5 | ||
6 | GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" | 6 | GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" |
7 | EXPAT = "--with-expat" | 7 | EXPAT = "--with-expat" |