gcc: take out libiberty files from gcc packages
this Fixes [BUGID #754] (From OE-Core rev: 553a92c442bc3a35d1520a22e640a3a0e377b8f7) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
16725463ef
commit
bc009ed6a4
|
@ -1,5 +1,5 @@
|
|||
require gcc-cross_${PV}.bb
|
||||
require gcc-cross-initial.inc
|
||||
|
||||
PR = "r2"
|
||||
PR = "r3"
|
||||
|
||||
|
|
|
@ -35,7 +35,8 @@ do_install () {
|
|||
rm -rf ${D}${datadir}/
|
||||
|
||||
# We use libiberty from binutils
|
||||
rm -f ${D}${exec_prefix}/lib/lib/libiberty.a
|
||||
find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f
|
||||
find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f
|
||||
|
||||
# Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are
|
||||
# found. These need to be relative paths so they work in different locations.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require gcc-cross_${PV}.bb
|
||||
require gcc-cross-intermediate.inc
|
||||
PR = "r3"
|
||||
PR = "r4"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
PR = "r2"
|
||||
PR = "r3"
|
||||
|
||||
require gcc-${PV}.inc
|
||||
require gcc-cross4.inc
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require gcc-cross-initial_${PV}.bb
|
||||
require gcc-crosssdk-initial.inc
|
||||
|
||||
PR = "r2"
|
||||
PR = "r3"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require gcc-cross-intermediate_${PV}.bb
|
||||
require gcc-crosssdk-intermediate.inc
|
||||
|
||||
PR = "r2"
|
||||
PR = "r3"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require gcc-cross_${PV}.bb
|
||||
require gcc-crosssdk.inc
|
||||
|
||||
PR = "r2"
|
||||
PR = "r3"
|
||||
|
|
|
@ -27,6 +27,10 @@ do_install () {
|
|||
rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/$d
|
||||
done
|
||||
|
||||
# We use libiberty from binutils
|
||||
find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f
|
||||
find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f
|
||||
|
||||
# gcc-runtime installs libgcc into a special location in staging since it breaks doing a standalone build
|
||||
if [ "${PN}" == "gcc-cross" -o "${PN}" == "gcc-crosssdk" ]; then
|
||||
dest=${D}/${includedir}/gcc-build-internal-${MULTIMACH_TARGET_SYS}
|
||||
|
|
|
@ -86,6 +86,10 @@ do_install () {
|
|||
# We don't care about the gcc-<version> ones for this
|
||||
rm -f *gcc-?.?*
|
||||
|
||||
# We use libiberty from binutils
|
||||
find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f
|
||||
find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f
|
||||
|
||||
# Symlinks so we can use these trivially on the target
|
||||
ln -sf ${TARGET_SYS}-g77 g77 || true
|
||||
ln -sf ${TARGET_SYS}-gfortran gfortran || true
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
PR = "r2"
|
||||
PR = "r3"
|
||||
require gcc-${PV}.inc
|
||||
require gcc-configure-target.inc
|
||||
require gcc-package-target.inc
|
||||
|
|
Loading…
Reference in New Issue