[OE-core] [PATCH 1/2] kernel.bbclass: Ensure compiler is available for do_populate_sysroot_setscene
Bruce Ashfield
bruce.ashfield at gmail.com
Tue Nov 19 17:47:10 UTC 2013
On Tue, Nov 19, 2013 at 12:37 PM, Mike Crowe <mac at mcrowe.com> wrote:
> kernelscripts_sstate_postinst uses the compiler (and therefore binutils) to
> generate the kernel scripts so it must declare a dependency on them. The
> ones in DEPENDS don't apply to do_populate_sysroot_setscene.
>
> Signed-off-by: Mike Crowe <mac at mcrowe.com>
> ---
> meta/classes/kernel.bbclass | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
> index 6959aa1..2fad6e0 100644
> --- a/meta/classes/kernel.bbclass
> +++ b/meta/classes/kernel.bbclass
> @@ -312,6 +312,8 @@ kernelscripts_sstate_postinst () {
> fi
> }
>
> +do_populate_sysroot_setscene[depends] += "virtual/${TARGET_PREFIX}gcc:do_populate_sysroot virtual/${TARGET_PREFIX}binutils:do_populate_sysroot"
This makes sense, we have a bug about this that I was never able to
reproduce:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5390
Bruce
> +
> python sysroot_stage_all () {
> oe.path.copyhardlinktree(d.expand("${D}${KERNEL_SRC_PATH}"), d.expand("${SYSROOT_DESTDIR}${KERNEL_SRC_PATH}"))
> }
> --
> 1.7.10.4
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
More information about the Openembedded-core
mailing list