Hi all I have a weird problem with my image that just popped up - I have a custom machine (called bf133) that provides the kernel recipe (as linux-bf133) wherein I specify the the machine as compatible. For some reason though bitbake spits an error that the kernel is incompatible with that machine - but I defined it to be compatible. This is the kernel recipe:
recipes-kernel/linux/linux-bf133_6.6.65.bb: inherit kernel require recipes-kernel/linux/linux-yocto.inc LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" SRC_URI = "\ git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git;protocol=https;branch=linux-6.6.y;name=kern \ file://0002-fix-missing-msr-de-bit.patch;subdir=git;name=msrpatch \ file://defconfig;name=config \ file://bf133.dts;name=dts;subdir=git/arch/${ARCH}/boot/dts/fsl \ " KERNEL_DEVICETREE = "fsl/bf133.dtb" LINUX_VERSION = "6.6.65" PV = "6.6.65" LINUX_KERNEL_TYPE = "rt" # On powerpc64 the kernel image contains relocations in the text segment. This # just happens to happen, we cannot do anything about this and in fact we don't # care, this will not slow down anything (except for a nanosecond at bootup # maybe). This makes sure that QA checks don't break our build because of this. # INSANE_SKIP:kernel-vmlinux:bf133 += "textrel" # Modify SRCREV to a different commit hash in a copy of this recipe to # build a different release of the Linux kernel. # tag name v6.6.65 (b4ac2e9d5991113a01a69ca91b2e8ed7f8cc66af) SRCREV_kern = "b4ac2e9d5991113a01a69ca91b2e8ed7f8cc66af" # Override COMPATIBLE_MACHINE to include your machine in a copy of this recipe # file. Leaving it empty here ensures an early explicit build failure. COMPATIBLE_MACHINE = "(bf133)" In my machine configuration I specifiy the provider of the kernel with: PREFERRED_PROVIDER_virtual/kernel = "linux-bf133" But I get linux-bf133 PROVIDES virtual/kernel but was skipped: incompatible with machine bf133 (not in COMPATIBLE_MACHINE) What am I doing wrong here?
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64748): https://lists.yoctoproject.org/g/yocto/message/64748 Mute This Topic: https://lists.yoctoproject.org/mt/111050517/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-