From 64d6403b794002c3ca491bbcd33738c5ba4d7ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Naz=C4=B1m=20Gediz=20Ayd=C4=B1ndo=C4=9Fmu=C5=9F?= Date: Tue, 17 Aug 2021 08:34:07 +0300 Subject: [PATCH] README: Add more information about other requirements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are two more dependencies in addition to libusb and pkgconfig, which are libz and libfdt. Tell about them and give an example command to install the packages through apt. Signed-off-by: Nazım Gediz Aydındoğmuş --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e9d7803..82771ce 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,13 @@ To build this, get a toolchain and run: Compilation requires the development version of *libusb-1.0* (include header and library) to be installed for `sunxi-fel`. Unless you explicitly pass *LIBUSB_CFLAGS* and *LIBUSB_LIBS* to the make utility, `pkg-config` is also -needed. +needed. Development versions of zlib and libfdt are also required. + +To install the dependencies on Ubuntu 20.04 using package manager: + +```bash +sudo apt install libusb-1.0-0-dev libz-dev libfdt-dev +``` Available build targets: