| Summary: | ERROR: do_kernel_metadata: Could not locate BSP definition | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Robert Berger <pokylinux> | ||||
| Component: | meta-yocto | Assignee: | Saul Wold <sgw> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium+ | CC: | bruce.ashfield, poky.bs.watcher, poky.watcher, sgw | ||||
| Version: | 2.4 | ||||||
| Target Milestone: | 2.5 M1 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | Don't know | |||||
| Attachments: |
|
||||||
|
Description
Robert Berger
2017-10-03 13:26:59 UTC
I suspect some cases of bb.error() need to be bb.fatal() in the bbclasses. Created attachment 4125 [details]
sample kernel recipe
This also happens after the 2.4 release and the point is it's right.
There is no defconfig and there are also no kernel metadata since I want to use an in tree kernel config.
I thought those lines would do the trick: # Let's try an in-tree defconfig: KERNEL_DEFCONFIG_imx6q-phytec-mira-rdk-nand-bsp ?= "multi_v7_defconfig" KBUILD_DEFCONFIG_imx6q-phytec-mira-rdk-nand-bsp ?= "multi_v7_defconfig" KCONFIG_MODE="--alldefconfig" Robert, is it possible you have a "defconfig" file on the $WORKDIR that matches the KCONFIG_DEFCONFIG setting? I think I found part of the problem is that the $sccs is not set if the KCONFIG_DEFCONFIG == $WORKDIR/defconfig and we should really be setting $sccs in both cases. We might also want to change the bberror to bbfatal in this case. Hi, I don't quite understand what defconfig that should be. Just a dummy file, or the real thing? I want to use multi_v7_defconfig like[1] and apply config fragments on top of it. Like this I can move back and forth between kernel versions quite easily. Just need to change the commit id like here[2] [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/arch/arm/configs/multi_v7_defconfig?h=v4.14.2 [2] https://github.com/RobertBerger/meta-mainline/tree/rocko-training-v4.9.x/multi-v7-ml/recipes-kernel/linux If you like I can try to add to my kernel recipe something which copies the multi_v7_defconfig wherever you would like to find it and rename it to defconfig. Is this what you want? multi_v7_defconfig to $WORKDIR/defconfig? |