Functions of makeoldconfig and menuconfig during Buildkernel

Source: Internet
Author: User

Functions of makeoldconfig and menuconfig during Buildkernel

1. Write in Linux Kernel design and implementation 3 (Linux Kernel Development 3:

After you modify the configuration file or use the existing configuration file to configure a new code tree, run the make oldconfig command to verify and update the configuration. Here, the role of make oldconfig is not clearly described;

2. In the README file in the linux-2.6.xx directory, describe the role of make oldconfig: all the questions are based on the existing. config file, only to ask new features and new settings;

3. In Building Embedded Linux Systems, the role of make oldconfig is explained in detail:

Make oldconfig:

You can configure the kernel through the command interface, but the existing. config configuration file will be automatically loaded. You must manually set the configuration only when you encounter any previously set options. However, make config requires you to manually set all the options, even if you have set them before. Developers usually update their configurations to official configuration options through this method to avoid resetting the entire Kernel configuration.

Make menuconfig:

Displays the configuration menu in the form of a terminal based on curses. If the. config file exists, it will set the default value based on the file, just like make config.

In my opinion, make menuconfig is the graphic version of make oldconfig. When updating the new settings to. config, save the original. config file as. config. old.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.