Yocto kernel copmpile

hi!
i must build customized yocto for wp76
i go to yocto\kernel and do make menuconfig do my changes and save it
i am up to yocto dir and do > make image_bin
log.txt (2.9 KB)

please see the log.txt
i can not build until i do make mrproper in kernel folder
whats defconfig name for wp76 ?

Hi @vovcher1,
It should be mdm9607_defconfig in ./kernel/arch/arm/configs/ foler.

Hello,
yocto needs special environment to use right compiler etc. Therefore kernel config/menuconfig is called indirectly with the bitbake tool.
Please check following manual:
https://www.yoctoproject.org/docs/1.6.1/kernel-dev/kernel-dev.html
Especially section 2.3.2

You might want to read as well:

The complete command lines should look like that:
source poky/oe-init-build-env build_bin
bitbake linux-quic -c menuconfig
bitbake linux-quic -c compile
make

/ThomasS

thanks you for help
i created custom yocto level in yocto/meta-mylevel/recipes-kernel/linux/linux-quic_git.bbappend
FILESEXTRAPATHS_prepend := “${THISDIR}/files:”
SRC_URI += “file://defconfig”
the purpose of append to create custom defconfig
i dont see it is copied into mdm9607_defconfig when building
defconfig located in yocto/meta-mylevel/recipes-kernel/linux/files
please help to find out!!!