Linux kernel 3

Source: Internet
Author: User
Linux kernel 3 note Linux kernel configuration Linux kernel has the advantages of customization, the specific steps are as follows: 1. clean up temporary files, intermediate files and configuration files & middot; makeclean: delete most of the generated files (such as in the compilation. o file) but keep the configuration. & Middot; makemrproper: delete...
Linux kernel 3 note: Linux kernel configuration of Linux kernel has the following advantages:
1. clear temporary files, intermediate files and configuration files. make clean: delete most of the generated files (such as. o files in compilation) but keep the configuration. · Make mrproper: delete all generated files and delete the configuration files. · Make distclean: delete the editor and patch files based on make mrproper.

2. determine the hardware and software configurations of the target system, such as the CPU model, Nic model, and supported network protocols.
3. configure the kernel using one of the following commands:
· Make config: interactive configuration based on text mode (configuration by question ).

· Make menuconfig: text-based menu configuration (recommended ).

· Make oldconfig: Use an existing configuration file (. config), but you will be asked about the new configuration options.

· Make xconfig: Graphical configuration (graphical system needs to be installed)
If qt: www.2cto.com sudo apt-get install libqt3-mtsudo apt-get install libqt3-mt-devsudo make xconfig:
After make menuconfig, ls-a: note that there is an additional. config file.



Generally, make menuconfig is used, for example, y = *, n = [], M, y, or *, to compile the project into the kernel. n or null is not selected, M indicates compiling to a module.
[*]. C ---->. o \ ---> zimage (* requires compilation and connection) [*] B. c ----> B. o/[M] D. c ----> D. o (compile) [] E. c --- X (no compilation and no connection) configuration item selection: see internal configuration reference. Doc often uses the existing kernel configuration reference for modification. For example, enter the s3c2410 configuration in arm:

Copy the configuration to. config in the Linux kernel, and then modify it. For example, cp s3c2410_defconfig..././. config www.2cto.com. if I want to modify the kernel running on my own system: hubi0952

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.