Skip to contentSkip to conversation

kernel-devsrc: Inherit module-base

PATCH In review Richard Purdie 2 participants 2 messages Dec 19, 2014

lore
Share & tools
lore
#0 lore raw

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.

meta/recipes-kernel/linux/kernel-devsrc.bb +3 -0
index facc235..2872f17 100644
@@ -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"
#1 lore raw
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
meta/recipes-kernel/linux/kernel-devsrc.bb +3 -0
index facc235..2872f17 100644
@@ -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"