Closed htot closed 6 years ago
See also some discussion in #27
It appears this issue is solved by Yocto Sumo in PR #29 which we expect to land in master shortly. Closing this one for now.
Looks like that fix was not enough - in #21 we saw that happening again and after additional checking I see it also needs flex. I actually knew that it does (it was a change introduced in 4.16 build process - something that was pre-built before they're now building with bison and flex), but in my tests only the former was enough. Looks like the tests I used didn't show everything, so I'm now (1) adding flex piece and (3) will triple-check with everything built from scratch.
On rocko on the first build after
make setup
the build fails with:It appears no kernel modules were built. do_compile_kernelmodules was executed, but it's log file says: NOTE: no modules to compile, which seems to originate from grepping .config for "^CONFIG_MODULES=y$" in do_compile_kernelmodules(). Checking .config I find # CONFIG_MODULES is not set which we do have that set if defconfig. Something seems to go wrong with run.do_kernel_metadata on the first run.
run.do_kernel_metadata generates dir's .meta and .kernel-meta under kernel-source. Here the correct config is generated from .defconfig + .cfg. But it seems this is not used by run.do_configure