Browse Source

README: install dependency packages on the host system by command

Signed-off-by: weishanshan1084 <weishanshan1084@phytium.com.cn>
pull/24/head
weishanshan1084 6 months ago
parent
commit
f8242a0143
  1. 34
      README.md

34
README.md

@ -9,33 +9,13 @@ Buildroot涉及了rootfs、make、Kconfig、Linux command、Shell scripts、U-Bo
# 开发环境
## 系统要求
Buildroot被设计为在x86 Linux系统上运行,我们只支持在ubuntu20.04、ubuntu22.04、debian11这三种x86主机上运行phytium-linux-buildroot,不支持其他系统。
首先,Buildroot需要主机系统上安装如下Linux程序,请检查是否已安装:
```
• Build tools:
– which
– sed
– make (version 3.81 or any later)
– binutils
– build-essential (only for Debian based systems)
– gcc (version 4.8 or any later)
– g++ (version 4.8 or any later)
– bash
– patch
– gzip
– bzip2
– perl (version 5.8.7 or any later)
– tar
– cpio
– unzip
– rsync
– file (must be in /usr/bin/file)
– bc
• Source fetching tools:
– wget
– git
```
除此之外,还需要安装如下软件包:
`$ sudo apt install debootstrap qemu-user-static binfmt-support debian-archive-keyring`
Buildroot需要主机系统上安装以下依赖包:
```
$ sudo apt update
$ sudo apt install debianutils sed make binutils build-essential gcc \
g++ bash patch gzip bzip2 perl tar cpio unzip rsync file bc wget git \
debootstrap qemu-user-static binfmt-support debian-archive-keyring
```
对于debian11系统,需要设置PATH环境变量:`PATH=$PATH:/usr/sbin`
## 下载phytium-linux-buildroot

Loading…
Cancel
Save