I've switched to Yocto's master branch from Krogoth and get now
circular dependencies for my kernel recipe:

ERROR: 502 unbuildable tasks were
found.#####################################################################

                                      | ETA:  0:00:08
These are usually caused by circular dependencies and any circular
dependency chains found will be printed below. Increase the debug
level to see a list of unbuildable tasks.

Identifying dependency loops (this may take a short while)...

ERROR:
Dependency loop #1 found:
  Task 
/home/user/MyProjects/oss/yocto/poky/meta-baltos/recipes-kernel/linux/linux-yocto-custom.bb:do_create_fitimage
(dependent Tasks ['linux-yocto-custom.bb:do_deploy'])
  Task 
/home/user/MyProjects/oss/yocto/poky/meta-baltos/recipes-kernel/linux/linux-yocto-custom.bb:do_packagedata
(dependent Tasks ['linux-yocto-custom.bb:do_package',
'linux-yocto-custom.bb:do_create_fitimage'])
  Task 
/home/user/MyProjects/oss/yocto/poky/meta-baltos/recipes-kernel/linux/linux-yocto-custom.bb:do_deploy
(dependent Tasks ['linux-yocto-custom.bb:do_bundle_initramfs',
'depmodwrapper-cross_1.0.bb:do_populate_sysroot',
'linux-yocto-custom.bb:do_populate_sysroot',
'linux-yocto-custom.bb:do_packagedata'])


ERROR: Command execution failed: 1

My kernel recipe:

inherit kernel
require recipes-kernel/linux/linux-yocto.inc

python __anonymous () {
        depends = d.getVar("DEPENDS", True)
        depends = "%s u-boot-mkimage-native dtc-native" % depends
        d.setVar("DEPENDS", depends)
}

do_create_fitimage() {
        cp ${THISDIR}/linux-yocto-custom/kernel-fit.its ${DEPLOY_DIR_IMAGE}
        uboot-mkimage -f ${DEPLOY_DIR_IMAGE}/kernel-fit.its
${DEPLOY_DIR_IMAGE}/kernel-fit.itb
}

addtask create_fitimage before do_packagedata after do_deploy

KBRANCH = "linux-3.18.y"
KCONFIG_MODE = "--alldefconfig"

SRC_URI = 
"git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1;branch=${KBRANCH}"
SRC_URI += "file://defconfig"
SRC_URI += "file://baltos.scc \
           "

LINUX_VERSION ?= "3.18"
LINUX_VERSION_EXTENSION ?= ""

SRCREV="v3.18.32"

PV = "${LINUX_VERSION}+git${SRCPV}"

COMPATIBLE_MACHINE_baltos = "baltos"

Any idea?

Regards,
Yegor
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to