<div dir="ltr">Hi,<div><br></div><div>I am compiling Yocto kernel image with:</div><div>* a third party's "in-tree" kernel configuration</div><div>* the same third party's BSP (which has some further kernel configurations as well)</div><div>* my own kernel configuration fragments for my project on top of the above two</div><div><br></div><div>What I found was if I make a small change to my own kernel config fragment, e.g. just add an empty line or add a comment, <b>don't </b>do a bitbake clean, and bitbake the kernel image again, the "in-tree" kernel configuration doesn't get picked up, therefore the new kernel's .config file is drastically different than a clean build. </div><div><br></div><div>But If I do a bitbake clean kernel recipe and bitbake the kernel image again, I get the same .config file both times.</div><div><br></div><div>The way I specify "in-tree" kernel configuration:</div><div>KBUILD_DEFCONFIG_machine_name ?= "<machine_name>_defconfig"</div><div>KCONFIG_MODE_machine_name ?="--alldefconfig"</div><div><br></div><div>What's the proper way of rebuilding kernel image once recipe has changes? Seems like doing a cleanall build every time takes a lot of time and inefficient.</div><div><br></div><div>Thanks!</div><div>.M.</div></div>