From f8242a0143f20d89d4469561cb4b25e11cceca56 Mon Sep 17 00:00:00 2001 From: weishanshan1084 Date: Fri, 26 Apr 2024 11:03:09 +0800 Subject: [PATCH] README: install dependency packages on the host system by command Signed-off-by: weishanshan1084 --- README.md | 34 +++++++--------------------------- 1 file changed, 7 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 6e5d2e60..eacba161 100644 --- a/README.md +++ b/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