Sept. 10, 2018
6:46 a.m.
On Mon, Sep 10, 2018 at 04:33:38PM +1000, Tobin C. Harding wrote:
I'm unable to build the kernel using the O=path/to/out option. Am I doing something brain dead?
$ cd $KERNEL $ make mrproper $ cp path/to/valid/config/file .config
All you are missing here is something like `make defconfig` (or olddefconfig or nconfig etc.) and you should be set; nothing brain dead here. You can read Documentation/admin-guide/README.rst for more information about these targets, but mostly the reason for this is because the available configurations change just like the rest of the kernel. Bad Things™ would happen if .config wasn't updated to reflect these changes. -- Cheers, Joey Pabalinas