* [PATCH] kernel-devsrc: Inherit module-base
@ 2014-12-19 14:12 Richard Purdie
2014-12-19 14:19 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2014-12-19 14:12 UTC (permalink / raw)
To: openembedded-core
As a "normal" recipe, mulitlib would try and extend it for multilibs.
By inheriting module-base, we can avoid this since we now look more
'kernel' like.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index facc235..2872f17 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -10,6 +10,9 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425
inherit linux-kernel-base
+# Whilst not a module, this ensures we don't get multilib extended (which would make no sense)
+inherit module-base
+
# We need the kernel to be staged (unpacked, patched and configured) before
# we can grab the source and make the kernel-devsrc package
do_install[depends] += "virtual/kernel:do_populate_sysroot"
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] kernel-devsrc: Inherit module-base
2014-12-19 14:12 [PATCH] kernel-devsrc: Inherit module-base Richard Purdie
@ 2014-12-19 14:19 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2014-12-19 14:19 UTC (permalink / raw)
To: Richard Purdie, openembedded-core
On 14-12-19 09:12 AM, Richard Purdie wrote:
> As a "normal" recipe, mulitlib would try and extend it for multilibs.
> By inheriting module-base, we can avoid this since we now look more
> 'kernel' like.
Also looks good. I didn't trigger the multilib issues here, but looking
at the arch settings in module-base .. I see it now.
Cheers,
Bruce
>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>
> diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
> index facc235..2872f17 100644
> --- a/meta/recipes-kernel/linux/kernel-devsrc.bb
> +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
> @@ -10,6 +10,9 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425
>
> inherit linux-kernel-base
>
> +# Whilst not a module, this ensures we don't get multilib extended (which would make no sense)
> +inherit module-base
> +
> # We need the kernel to be staged (unpacked, patched and configured) before
> # we can grab the source and make the kernel-devsrc package
> do_install[depends] += "virtual/kernel:do_populate_sysroot"
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-19 14:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-19 14:12 [PATCH] kernel-devsrc: Inherit module-base Richard Purdie
2014-12-19 14:19 ` Bruce Ashfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox