kernel-devsrc: Inherit module-base
PATCH 1/1 kernel-devsrc: Inherit module-base
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 <[email protected]>
meta/recipes-kernel/linux/kernel-devsrc.bb +3 -0
@@ -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"
Quoted 3 lines · Richard Purdie
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
Quoted 19 lines
Signed-off-by Richard Purdie <[email protected]>meta/recipes-kernel/linux/kernel-devsrc.bb +3
-0@@ -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"