Re: Build error with O= option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mar 5, 2018 7:04 AM, Gioh Kim <gurugio@xxxxxxxxx> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux