Sync deletions with OE-core git recipe for all flavours of binutils, not just binutils_linaro-2.25.bb.
Without this binutils stage files which later also get staged when building gdb-cross.
Signed-off-by: Max Krummenacher max.krummenacher@toradex.com --- .../recipes-devtools/binutils/binutils-linaro-2.25.inc | 4 ++++ .../recipes-devtools/binutils/binutils_linaro-2.25.bb | 7 ------- 2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.25.inc b/meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.25.inc index 12144d5..799304d 100644 --- a/meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.25.inc +++ b/meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.25.inc @@ -37,3 +37,7 @@ SRC_URI = "\ "
S = "${WORKDIR}/git" + +do_configure_prepend() { + rm -rf ${S}/gdb ${S}/libdecnumber ${S}/readline ${S}/sim +} diff --git a/meta-linaro-toolchain/recipes-devtools/binutils/binutils_linaro-2.25.bb b/meta-linaro-toolchain/recipes-devtools/binutils/binutils_linaro-2.25.bb index fae877a..ef5b7c5 100644 --- a/meta-linaro-toolchain/recipes-devtools/binutils/binutils_linaro-2.25.bb +++ b/meta-linaro-toolchain/recipes-devtools/binutils/binutils_linaro-2.25.bb @@ -14,13 +14,6 @@ EXTRA_OECONF_class-native = "--enable-targets=all \ --enable-install-libbfd \ --enable-install-libiberty"
-# Get rid of gdb sub-directory -do_unpack_extra() { - rm -rf ${S}/gdb ${S}/libdecnumber ${S}/readline ${S}/sim -} - -addtask unpack_extra after do_unpack before do_patch - do_install_class-native () { autotools_do_install
Added into gerrit: https://review.linaro.org/#/c/15958/, thanks!
Op 30 nov. 2016, om 12:22 heeft Max Krummenacher max.oss.09@gmail.com het volgende geschreven:
Sync deletions with OE-core git recipe for all flavours of binutils, not just binutils_linaro-2.25.bb.
Without this binutils stage files which later also get staged when building gdb-cross.
Signed-off-by: Max Krummenacher max.krummenacher@toradex.com
.../recipes-devtools/binutils/binutils-linaro-2.25.inc | 4 ++++ .../recipes-devtools/binutils/binutils_linaro-2.25.bb | 7 ------- 2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.25.inc b/meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.25.inc index 12144d5..799304d 100644 --- a/meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.25.inc +++ b/meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.25.inc @@ -37,3 +37,7 @@ SRC_URI = "\ "
S = "${WORKDIR}/git"
+do_configure_prepend() {
- rm -rf ${S}/gdb ${S}/libdecnumber ${S}/readline ${S}/sim
+} diff --git a/meta-linaro-toolchain/recipes-devtools/binutils/binutils_linaro-2.25.bb b/meta-linaro-toolchain/recipes-devtools/binutils/binutils_linaro-2.25.bb index fae877a..ef5b7c5 100644 --- a/meta-linaro-toolchain/recipes-devtools/binutils/binutils_linaro-2.25.bb +++ b/meta-linaro-toolchain/recipes-devtools/binutils/binutils_linaro-2.25.bb @@ -14,13 +14,6 @@ EXTRA_OECONF_class-native = "--enable-targets=all \ --enable-install-libbfd \ --enable-install-libiberty"
-# Get rid of gdb sub-directory -do_unpack_extra() {
- rm -rf ${S}/gdb ${S}/libdecnumber ${S}/readline ${S}/sim
-}
-addtask unpack_extra after do_unpack before do_patch
do_install_class-native () { autotools_do_install
-- 2.5.5
OpenEmbedded mailing list OpenEmbedded@lists.linaro.org https://lists.linaro.org/mailman/listinfo/openembedded