Add readme

This commit is contained in:
Huang Xin 2019-05-21 17:13:40 +08:00
parent 01525dcf27
commit 40b5b87eb4
1 changed files with 8 additions and 8 deletions

View File

@ -17,20 +17,20 @@ ld Makefile和编译脚本目录
   
+ ## **编译方法** + ## **编译方法**
1. #### 从仓库获取最新代码 1. #### 从仓库获取最新代码
``` bash ```
git clone https://git.komect.net:SDX/vBRAS.git git clone https://git.komect.net:SDX/vBRAS.git
``` ```
``` bash ```
git pull git pull
``` ```
2. #### 安装必要软件(UBuntu) 2. #### 安装必要软件(UBuntu)
``` bash ``` bash
sudo ./fsl-qoriq-glibc-x86_64-fsl-toolchain-aarch64-toolchain-2.4.1.sh sudo ./fsl-qoriq-glibc-x86_64-fsl-toolchain-aarch64-toolchain-2.4.1.sh
sudo apt-get -y install git u-boot-tools device-tree-compiler autoconf curl flex sudo apt-get -y install git u-boot-tools device-tree-compiler autoconf curl flex
sudo apt-get -y install automake dh-autoreconf libssl-dev openssl libpcap-dev bc sudo apt-get -y install automake dh-autoreconf libssl-dev openssl libpcap-dev bc
sudo apt-get -y install python-pip qemu-utils libncurses5-dev python-crypto bison sudo apt-get -y install python-pip qemu-utils libncurses5-dev python-crypto bison
``` ```
3. #### 安装 linux 内核源代码 3. #### 安装 linux 内核源代码
``` bash ``` bash
sudo mkdir -p /opt/fsl-kernel /opt/fsl-kernel/arm64 /opt/fsl-kernel/x86 sudo mkdir -p /opt/fsl-kernel /opt/fsl-kernel/arm64 /opt/fsl-kernel/x86