Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] How to handle custom kernel config
@ 2014-06-17 13:37 Marco Trapanese
  2014-06-17 13:40 ` Yegor Yefremov
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Trapanese @ 2014-06-17 13:37 UTC (permalink / raw)
  To: buildroot

Hello,
reading the docs I'm not sure how to handle a custom kernel config.
Let's say I have a custom linux.config file in a board/sub_directory.
In the make nconfig menu I selected the right path.

Now I want to change some settings. As far as I understand if I issue 
make linux-menuconfig it will read the default .config file, not the 
custom one. Am I wrong?

What's the right way to change those settings?
Thanks!

Marco

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] How to handle custom kernel config
  2014-06-17 13:37 [Buildroot] How to handle custom kernel config Marco Trapanese
@ 2014-06-17 13:40 ` Yegor Yefremov
  2014-06-17 13:43   ` Marco Trapanese
  0 siblings, 1 reply; 5+ messages in thread
From: Yegor Yefremov @ 2014-06-17 13:40 UTC (permalink / raw)
  To: buildroot

On Tue, Jun 17, 2014 at 3:37 PM, Marco Trapanese
<marcotrapanese@gmail.com> wrote:
> Hello,
> reading the docs I'm not sure how to handle a custom kernel config.
> Let's say I have a custom linux.config file in a board/sub_directory.
> In the make nconfig menu I selected the right path.
>
> Now I want to change some settings. As far as I understand if I issue make
> linux-menuconfig it will read the default .config file, not the custom one.
> Am I wrong?
>
> What's the right way to change those settings?

As soon as you're happy with your new .config in the build directory,
you just manually overwrite your board/sub_directory/linux.config

Yegor

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] How to handle custom kernel config
  2014-06-17 13:40 ` Yegor Yefremov
@ 2014-06-17 13:43   ` Marco Trapanese
  2014-06-17 13:58     ` Yegor Yefremov
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Trapanese @ 2014-06-17 13:43 UTC (permalink / raw)
  To: buildroot

Il 17/06/2014 15:40, Yegor Yefremov ha scritto:

> As soon as you're happy with your new .config in the build directory,
> you just manually overwrite your board/sub_directory/linux.config Yegor

Ok, so I should do the following:

1) copy the custom file to .config
2) edit that with make linux-menuconfig
3) copy back the .config to custom file


Now I understand!
Marco

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] How to handle custom kernel config
  2014-06-17 13:43   ` Marco Trapanese
@ 2014-06-17 13:58     ` Yegor Yefremov
  2014-06-18 21:01       ` Arnout Vandecappelle
  0 siblings, 1 reply; 5+ messages in thread
From: Yegor Yefremov @ 2014-06-17 13:58 UTC (permalink / raw)
  To: buildroot

On Tue, Jun 17, 2014 at 3:43 PM, Marco Trapanese
<marcotrapanese@gmail.com> wrote:
> Il 17/06/2014 15:40, Yegor Yefremov ha scritto:
>
>> As soon as you're happy with your new .config in the build directory,
>> you just manually overwrite your board/sub_directory/linux.config Yegor
>
>
> Ok, so I should do the following:
>
> 1) copy the custom file to .config

This step will be made by Buildroot, when you first compile the kernel
or perhaps if you invoke make linux-reconfigure. Your custom .config
will be copied to output/build/linux-xxx

> 2) edit that with make linux-menuconfig
> 3) copy back the .config to custom file

Other step are correct.

Yegor

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] How to handle custom kernel config
  2014-06-17 13:58     ` Yegor Yefremov
@ 2014-06-18 21:01       ` Arnout Vandecappelle
  0 siblings, 0 replies; 5+ messages in thread
From: Arnout Vandecappelle @ 2014-06-18 21:01 UTC (permalink / raw)
  To: buildroot

On 17/06/14 15:58, Yegor Yefremov wrote:
> On Tue, Jun 17, 2014 at 3:43 PM, Marco Trapanese
> <marcotrapanese@gmail.com> wrote:
>> Il 17/06/2014 15:40, Yegor Yefremov ha scritto:
>>
>>> As soon as you're happy with your new .config in the build directory,
>>> you just manually overwrite your board/sub_directory/linux.config Yegor
>>
>>
>> Ok, so I should do the following:
>>
>> 1) copy the custom file to .config
> 
> This step will be made by Buildroot, when you first compile the kernel
> or perhaps if you invoke make linux-reconfigure. Your custom .config
> will be copied to output/build/linux-xxx
> 
>> 2) edit that with make linux-menuconfig
>> 3) copy back the .config to custom file

 This step can be done with the command

make linux-update-defconfig


 Regards,
 Arnout

> 
> Other step are correct.
> 
> Yegor
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-18 21:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-17 13:37 [Buildroot] How to handle custom kernel config Marco Trapanese
2014-06-17 13:40 ` Yegor Yefremov
2014-06-17 13:43   ` Marco Trapanese
2014-06-17 13:58     ` Yegor Yefremov
2014-06-18 21:01       ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox