I followed the IMX_PORTING_GUIDE.pdf (pg 11) to add my own defconfig file (imx8mp) . But that doesn't work.
WARNING: linux-imx-5.10.35+gitAUTOINC+ef3f2cfc60-r0 do_fetch: Failed to fetch URL git://source.codeaurora.org/external/imx/linux-imx.git;protocol=https;branch=lf-5.10.yfile://custom_defconfig, attempting MIRRORS if available
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append = "file://custom_defconfig"
and file (custom_defconfig) is located in
imx-linux/files and imx-linux (just to be sure).
So I changed it to
SRC_URI_append = " file://cusom_defconfig"
(with a space ahead) but that gives me:
WARNING: linux-imx-5.10.35+gitAUTOINC+ef3f2cfc60-r0 do_kernel_metadata: [NOTE]: defconfig was supplied both via KBUILD_DEFCONFIG and SRC_URI. Dropping SRC_URI defconfig
WARNING: linux-imx-5.10.35+gitAUTOINC+ef3f2cfc60-r0 do_kernel_configme: [NOTE]: defconfig was supplied both via KBUILD_DEFCONFIG and SRC_URI. Dropping SRC_URI defconfig
... so it seems do be ignored.
"unset KBUILD_DEFCONFIG"
let the message disappear and gives some warnings about:
WARNING: linux-imx-5.10.35+gitAUTOINC+ef3f2cfc60-r0 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration:
But that doesn't produce smaller kernel/less modules as expected. The linux-imx_5.10.35...bb file is a bit confusing to me, because if its included tasks. I don't know how to handle that. Can you help?
I even tried to set KBUILD_DEFCONFIG in <machine>.conf. But that seems to be ignored.