Skip to content

Commit

Permalink
linux-*: Use kernel-yocto bbclass
Browse files Browse the repository at this point in the history
Let's switch back to this to gain support for config fragments,
defconfigs in SRC_URI, etc.

This breaks qemuriscv32, but that's an acceptable loss for now. Patches
have been submitted upstream [1] [2] to allow us to fix this, but we're
still waiting for them to be merged.

[1]: https://lists.yoctoproject.org/g/linux-yocto/topic/yocto_kernel_tools_patch/108776669
[2]: https://lore.kernel.org/all/[email protected]/

Signed-off-by: Paul Barker <[email protected]>
  • Loading branch information
pbrkr committed Oct 21, 2024
1 parent 47d51a2 commit 7a4de65
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions recipes-kernel/linux/linux-mainline-common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SECTION = "kernel"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"

inherit kernel
inherit kernel kernel-yocto

# The ORC unwinder is enabled in x86_64_defconfig and needs libelf-dev
DEPENDS:append:x86-64 = " elfutils-native"
Expand All @@ -30,6 +30,4 @@ SRC_URI:append:qemuall = " file://virtio-blk.cfg"
# Enable LPAE support for 32-bit raspberrypi4
SRC_URI:append:raspberrypi4 = " file://rpi4-lpae.cfg"

KERNEL_CONFIG_COMMAND = "oe_runmake -C ${S} O=${B} ${KBUILD_DEFCONFIG}"

ERROR_QA:remove = "buildpaths"

0 comments on commit 7a4de65

Please sign in to comment.