增加 Ubuntu 下搭建驱动开发环境.

Signed-off-by: lion.chan <cy187lion@sina.com>
This commit is contained in:
lion.chan 2020-03-20 15:48:50 +08:00
parent 1aa29edc9f
commit 66602c6bbd
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# Ubuntu 下搭建驱动开发环境
## 升级
```sh
apt-get update
apt-get upgrade
```
## 安装基础软件包
```sh
apt-get install build-essential kernel-package kernek-source libncurses5-dev libssl-dev libelf-dev
```
## 安装内核源码
```sh
apt-get install linux-source-$(uname -r)
```