March 5, 2018
12:57 p.m.
On Mar 5, 2018 7:04 AM, Gioh Kim <gurugio@gmail.com> wrote:
Hi,
I am trying to use O=<dir> option when building kernel. It failed with missing .config file error. I checked out the message and found out it tried to read .config in the output directory.
It's strange because there is no command to copy .config to the output directory. I tested v4.14 and v4.15, and both failed.
Depending on your distro they may provide you with their config file. You can create a default configuration by doing: make defconfig O=$dir cd $dir make Where $dir is wherever you want the output to be. Regards, Alex