增加 Ubuntu 下搭建驱动开发环境.
Signed-off-by: lion.chan <cy187lion@sina.com>
This commit is contained in:
parent
1aa29edc9f
commit
66602c6bbd
|
@ -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)
|
||||
```
|
Loading…
Reference in New Issue