Build using O=path

Joey Pabalinas joeypabalinas at gmail.com
Mon Sep 10 02:46:13 EDT 2018


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180909/7a4742f7/attachment.sig>


More information about the Kernelnewbies mailing list