Two practical skills for Linux kernel developers

Source: Internet
Author: User
Tags custom name
I think of them after being bored with repetitive work. I hope they will be useful to everyone. The following are two tips about kernelimage: 1. create a symbol-link to point to your fixed

I think of them after being bored with repetitive work. I hope they will be useful to everyone. The following are two tips for kernel image:

1. create a symbol-link to point to the target kernel image with your fixed name (the kernel image made after the soure file is modified). In this way, it is much easier to copy/move this kernel for testing.

2. implement automatic change of kernel image name (bzImage etc by default) Change $ SRC_TOPDIR/arch/xxx (xxx here will always be I386 for my folks) add a custom name change rule under the/boot/Makefile bzImage rule: bzImage :..... mv bzImage Apsl3-bzImage (Any name u like) if you are using grub, you will find that you can use the e command to edit it when testing the new kernel.

Related Article

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.