How to handle custom kernel config
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
Quoted 10 lines · Marco Trapanese
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
Il 17/06/2014 15:40, Yegor Yefremov ha scritto:
Quoted 2 lines
As soon as you're happy with your new .config in the build directory, you just manually overwrite your
board/sub_directory/linux.configYegor
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
Quoted 9 lines · Marco Trapanese
Il 17/06/2014 15:40, Yegor Yefremov ha scritto:
Quoted 2 lines
As soon as you're happy with your new .config in the build directory, you just manually overwrite your
board/sub_directory/linux.configYegorOk, 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
Quoted 2 lines
2) edit that with make linux-menuconfig
3) copy back the .config to custom file
Other step are correct.
Yegor
Quoted 8 lines · Yegor Yefremov
Quoted 6 lines · Marco Trapanese
Il 17/06/2014 15:40, Yegor Yefremov ha scritto:
Quoted 2 lines
As soon as you're happy with your new .config in the build directory, you just manually overwrite your
board/sub_directory/linux.configYegor
Quoted 10 lines
Quoted 3 lines
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
Quoted 2 lines
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
Quoted 10 lines
Other step are correct.
Yegor
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
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