* [PATCH] external-linaro-toolchain: adjust -cross dependency to avoid possible race
@ 2015-09-09 17:17 Denys Dmytriyenko
2015-09-09 17:48 ` Denys Dmytriyenko
0 siblings, 1 reply; 2+ messages in thread
From: Denys Dmytriyenko @ 2015-09-09 17:17 UTC (permalink / raw)
To: meta-arago
From: Denys Dmytriyenko <denys@ti.com>
Many toolchain components like gcc share common work directory with sources
and rely on those sources being prepped by a corresponding -cross part.
Since we use a prebuilt cross toolchain, we have to fake some prep steps for
target toolchain components to build successfully (install unwind.h, etc.).
Need to make sure those prep steps get executed before target gcc requires
them.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
.../recipes-core/meta/external-linaro-toolchain.bbappend | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend b/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend
index f382897..71ef91e 100644
--- a/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend
+++ b/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend
@@ -4,7 +4,7 @@ ALLOW_EMPTY_ldd = "1"
ALLOW_EMPTY_libstdc++ = "1"
ALLOW_EMPTY_libgomp = "1"
-PR_append = "-arago21"
+PR_append = "-arago22"
PROVIDES := "${@oe_filter_out('virtual/linux-libc-headers', '${PROVIDES}', d)}"
PROVIDES := "${@oe_filter_out('linux-libc-headers', '${PROVIDES}', d)}"
@@ -18,7 +18,7 @@ PACKAGES += "${@base_conditional('PREFERRED_PROVIDER_linux-libc-headers', 'exter
DEPENDS += "${@base_conditional('PREFERRED_PROVIDER_linux-libc-headers', 'external-linaro-toolchain', '', 'linux-libc-headers', d)}"
-do_build[depends] += "external-linaro-toolchain-cross:do_populate_sysroot"
+do_populate_sysroot[depends] += "external-linaro-toolchain-cross:do_populate_sysroot"
RDEPENDS_${PN}-utils = ""
--
2.2.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] external-linaro-toolchain: adjust -cross dependency to avoid possible race
2015-09-09 17:17 [PATCH] external-linaro-toolchain: adjust -cross dependency to avoid possible race Denys Dmytriyenko
@ 2015-09-09 17:48 ` Denys Dmytriyenko
0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2015-09-09 17:48 UTC (permalink / raw)
To: Denys Dmytriyenko; +Cc: meta-arago
Ignore this, I have a better fix.
On Wed, Sep 09, 2015 at 01:17:12PM -0400, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@ti.com>
>
> Many toolchain components like gcc share common work directory with sources
> and rely on those sources being prepped by a corresponding -cross part.
> Since we use a prebuilt cross toolchain, we have to fake some prep steps for
> target toolchain components to build successfully (install unwind.h, etc.).
> Need to make sure those prep steps get executed before target gcc requires
> them.
>
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
> .../recipes-core/meta/external-linaro-toolchain.bbappend | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend b/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend
> index f382897..71ef91e 100644
> --- a/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend
> +++ b/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend
> @@ -4,7 +4,7 @@ ALLOW_EMPTY_ldd = "1"
> ALLOW_EMPTY_libstdc++ = "1"
> ALLOW_EMPTY_libgomp = "1"
>
> -PR_append = "-arago21"
> +PR_append = "-arago22"
>
> PROVIDES := "${@oe_filter_out('virtual/linux-libc-headers', '${PROVIDES}', d)}"
> PROVIDES := "${@oe_filter_out('linux-libc-headers', '${PROVIDES}', d)}"
> @@ -18,7 +18,7 @@ PACKAGES += "${@base_conditional('PREFERRED_PROVIDER_linux-libc-headers', 'exter
>
> DEPENDS += "${@base_conditional('PREFERRED_PROVIDER_linux-libc-headers', 'external-linaro-toolchain', '', 'linux-libc-headers', d)}"
>
> -do_build[depends] += "external-linaro-toolchain-cross:do_populate_sysroot"
> +do_populate_sysroot[depends] += "external-linaro-toolchain-cross:do_populate_sysroot"
>
> RDEPENDS_${PN}-utils = ""
>
> --
> 2.2.0
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-09 17:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-09 17:17 [PATCH] external-linaro-toolchain: adjust -cross dependency to avoid possible race Denys Dmytriyenko
2015-09-09 17:48 ` Denys Dmytriyenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.