Article Title: two practical tips for Linux kernel developers. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
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 the kernel image name (bzImage etc by default)
$ SRC_TOPDIR/arch/xxx (xxx here will always be I386 for my folks)/boot/Makefile
Add a custom name change rule under the bzImage rule:
BzImage:
.....
Mv bzImage Apsl3-bzImage (Any name u like)
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