Re: Build error with O= option

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

 



On Mon, Mar 5, 2018 at 1:57 PM, Alex Arvelaez <ealejandro@xxxxxxxxxxx> wrote:
> 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

Thank you, Alex.
I just started kernel build. It looks fine.

I think "make help" should show some more message for "O=" option.
What do you think about sending a patch to add more description for
"O=" option, Alex?



-- 

Best regards,
Gioh Kim

_______________________________________________
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