From a34420e1bdb9a695fe7abd3b26426d7ae6113349 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 4 Sep 2019 11:29:31 +0100 Subject: [PATCH] binutils/glibc-testsuite: inherit nopackages to fix world builds These recipes don't need to generate packages but did contain the packaging tasks which would be triggered by a world build. They showed warnings or errors. Simplest fix is to remove the unneeded tasks with the nopackages class. Also don't attempt stash_locales task Signed-off-by: Richard Purdie --- meta/recipes-core/glibc/glibc-testsuite_2.30.bb | 2 ++ meta/recipes-devtools/binutils/binutils-cross-testsuite_2.32.bb | 2 ++ 2 files changed, 4 insertions(+) diff --git a/meta/recipes-core/glibc/glibc-testsuite_2.30.bb b/meta/recipes-core/glibc/glibc-testsuite_2.30.bb index 88764d9e2b..64fa8d87df 100644 --- a/meta/recipes-core/glibc/glibc-testsuite_2.30.bb +++ b/meta/recipes-core/glibc/glibc-testsuite_2.30.bb @@ -49,3 +49,5 @@ do_check () { } addtask do_check after do_compile +inherit nopackages +deltask do_stash_locale diff --git a/meta/recipes-devtools/binutils/binutils-cross-testsuite_2.32.bb b/meta/recipes-devtools/binutils/binutils-cross-testsuite_2.32.bb index e62e64e8ae..07a8e7c417 100644 --- a/meta/recipes-devtools/binutils/binutils-cross-testsuite_2.32.bb +++ b/meta/recipes-devtools/binutils/binutils-cross-testsuite_2.32.bb @@ -9,6 +9,8 @@ DEPENDS += "binutils-native" deltask do_compile deltask do_install +inherit nopackages + do_configure[dirs] += "${B}/ld ${B}/bfd" do_configure() { # create config.h, oe enables initfini-array by default -- 2.40.1