From mboxrd@z Thu Jan 1 00:00:00 1970 From: joeypabalinas@gmail.com (Joey Pabalinas) Date: Sun, 9 Sep 2018 20:46:13 -1000 Subject: Build using O=path In-Reply-To: <20180910063338.GC4939@eros> References: <20180910063338.GC4939@eros> Message-ID: <20180910064613.2do5jhs3fg7cpvx4@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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: