From 7d6e2c235ba28728d92c7fabac5582d5949db12e Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 17 Aug 2015 16:38:57 +0800 Subject: [PATCH 1/2] fix small spell problem --- Misc/how_kernel_compiled.md | 6 +++--- contributors.md | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Misc/how_kernel_compiled.md b/Misc/how_kernel_compiled.md index 0925a66..bb5ab8b 100644 --- a/Misc/how_kernel_compiled.md +++ b/Misc/how_kernel_compiled.md @@ -4,11 +4,11 @@ Process of the Linux kernel building Introduction -------------------------------------------------------------------------------- -I won't tell you how to build and install a custom Linux kernel on your machine. If you need help with this, you can find many [resources](https://encrypted.google.com/search?q=building+linux+kernel#q=building+linux+kernel+from+source+code) that will help you do it. Instead, we will learn what occurs when you type `make` in the directory of the Linux kernel source code. +I won't tell you how to build and install a custom Linux kernel on your machine. If you need help with this, you can find many [resources](https://encrypted.google.com/search?q=building+linux+kernel#q=building+linux+kernel+from+source+code) that will help you do it. Instead, we will learn what occurs when you execute `make` in the root directory of the Linux kernel source code. -When I started to study the source code of the Linux kernel, the [makefile](https://github.com/torvalds/linux/blob/master/Makefile) was the first file that I opened. And it was scary :). The [makefile](https://en.wikipedia.org/wiki/Make_%28software%29) contained `1591` lines of code when I wrote this and this was the [4.2.0-rc3](https://github.com/torvalds/linux/commit/52721d9d3334c1cb1f76219a161084094ec634dc) release. +When I started to study the source code of the Linux kernel, the [makefile](https://github.com/torvalds/linux/blob/master/Makefile) was the first file that I opened. And it was scary :). The [makefile](https://en.wikipedia.org/wiki/Make_%28software%29) contained `1591` lines of code when I wrote this part and the kernel was the [4.2.0-rc3](https://github.com/torvalds/linux/commit/52721d9d3334c1cb1f76219a161084094ec634dc) release. -This makefile is the the top makefile in the Linux kernel source code and the kernel build starts here. Yes, it is big, but moreover, if you've read the source code of the Linux kernel you may have noted that all directories containing source code has its own makefile. Of course it is not possible to describe how each source file is compiled and linked, so we will only study the standard compilation case. You will not find here building of the kernel's documentation, cleaning of the kernel source code, [tags](https://en.wikipedia.org/wiki/Ctags) generation, [cross-compilation](https://en.wikipedia.org/wiki/Cross_compiler) related stuff, etc... We will start from the `make` execution with the standard kernel configuration file and will finish with the building of the [bzImage](https://en.wikipedia.org/wiki/Vmlinux#bzImage). +This makefile is the top makefile in the Linux kernel source code and the kernel building starts here. Yes, it is big, but moreover, if you've read the source code of the Linux kernel you may have noted that all directories containing source code has its own makefile. Of course it is not possible to describe how each source file is compiled and linked, so we will only study the standard compilation case. You will not find here building of the kernel's documentation, cleaning of the kernel source code, [tags](https://en.wikipedia.org/wiki/Ctags) generation, [cross-compilation](https://en.wikipedia.org/wiki/Cross_compiler) related stuff, etc... We will start from the `make` execution with the standard kernel configuration file and will finish with the building of the [bzImage](https://en.wikipedia.org/wiki/Vmlinux#bzImage). It would be better if you're already familiar with the [make](https://en.wikipedia.org/wiki/Make_%28software%29) util, but I will try to describe every piece of code in this part anyway. diff --git a/contributors.md b/contributors.md index 21c3f70..624d084 100644 --- a/contributors.md +++ b/contributors.md @@ -65,3 +65,4 @@ Thank you to all contributors: * [Ehsun N](https://github.com/imehsunn) * [Waqar Ahmed](https://github.com/Waqar144) * [Ian Miell](https://github.com/ianmiell) +* [DongLiang Mu](https://github.com/mudongliang) From ddf0793f6b74b6c541c4979b4deaf093b2b87c9b Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 17 Aug 2015 16:41:29 +0800 Subject: [PATCH 2/2] fix a small spell problem --- Misc/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/README.md b/Misc/README.md index d47bac0..b81c3e1 100644 --- a/Misc/README.md +++ b/Misc/README.md @@ -1,3 +1,3 @@ # Misc -Thich chapter contains parts that are not directly related to the Linux kernel code and implementation of different subsystems. +This chapter contains parts which are not directly related to the Linux kernel source code and implementation of different subsystems.