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