Hi,

I’m trying to build an image for a custom board. The build works fine with 
kirkstone-4.0.16, but it fails on 4.0.17. Here’s the output from the kernel 
recipe:

|   HOSTCC  scripts/dtc/libfdt/fdt_empty_tree.o
| 
"5.15.82-bsp-yocto-ampliphy-am335x-pd23.1.0-bsp-yocto-ampliphy-am335x-pd23.1.0" 
exceeds 64 characters
| make: *** 
[/home/tamas/poky/build/tmp/work-shared/phyboard-regor-am335x-1/kernel-source/Makefile:1308:
 include/generated/utsrelease.h] Error 1
| make: *** Waiting for unfinished jobs….

I saw the following fixes in the release notes that could be relevant:
    • kernel.bbclass: introduce KERNEL_LOCALVERSION
    • kernel: fix localversion in v6.3+
    • kernel: make LOCALVERSION consistent between recipes

I checked the config with menuconfig and saw the local version was set to 
“-bsp-yocto-ampliphy-am335x-pd23.1.0”.
On 4.0.16 it is also set to the same thing. This is a custom kernel recipe that 
inherits kernel and kconfig.

This is as far as I’ve gotten. I couldn’t figure out how this local version is 
set. I tried searching for it, but I found nothing suspicious. 
I also tried manually specifying KERNEL_LOCALVERSION in the kernel recipe, but 
nothing changed. 

How could I figure out what is wrong with the custom kernel recipe?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64272): https://lists.yoctoproject.org/g/yocto/message/64272
Mute This Topic: https://lists.yoctoproject.org/mt/109561624/21656
Mute #poky:https://lists.yoctoproject.org/g/yocto/mutehashtag/poky
Mute #kirkstone:https://lists.yoctoproject.org/g/yocto/mutehashtag/kirkstone
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

  • [yocto] Kernel name is too lon... Tamás Soós via lists . yoctoproject . org

Reply via email to