Add readme

This commit is contained in:
Huang Xin 2019-05-21 17:37:57 +08:00
parent 3279610e6e
commit f63f618746
1 changed files with 2 additions and 4 deletions

View File

@ -51,15 +51,13 @@ source ~/.bashrc</code>
#### 5. 编译内核 #### 5. 编译内核
+ x64_86 + x64_86
``` <code>cd /opt/fsl-kernel/x86/linux-4.9.140 && make -j</code>
cd /opt/fsl-kernel/x86/linux-4.9.140 && make -j
```
+ arm64 + arm64
<code>cd /opt/fsl-kernel/arm64/linux-4.9.140 && unset LDFLAS</code> <code>cd /opt/fsl-kernel/arm64/linux-4.9.140 && unset LDFLAS</code>
修改 Makefile 文件第 257、258 两行 修改 Makefile 文件第 257、258 两行
<code>ARCH ?= $(SUBARCH) <code>ARCH ?= $(SUBARCH)
CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%)</code> CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%)</code>
<code>ARCH ?= arm64 <code>ARCH ?= arm64
CROSS_COMPILE ?= aarch64-fsl-linux-</code> CROSS_COMPILE ?= aarch64-fsl-linux-</code>