We are using the OpenWRT build system to build an x86 based embedded environment. However, after taking in Kernel version 4.8.6, we are experiencing a couple of nasty errors.
In order to investigate these errors, I need to rig the Kernel and build it separately. I am not new to configuring, (cross-)building and installing a Kernel onto embedded platforms, but I am new to OpenWRT.
According to the documentation, I can build the Kernel using:
make -j8 target/linux/compile V=s
Unfortunately, this only seems to rebuild the Kernel modules.
I can get the Kernel configured and built cleanly using:
make -j8 target/linux/{clean,compile,install} V=s
But besides from taking a long time, this produces a Kernel almost double in size, so no identical to the one produced with:
make world V=99
Can anybody please tell me how I can do an incremental build on the kernel in build_dir, using the OpenWRT build system? Any help is appreciated.