[PATCH kvmtool 2/2] INSTALL: Remove all mentions of libfdt

Alexandru Elisei alexandru.elisei at arm.com
Thu May 26 08:30:58 PDT 2022


kvmtool doesn't have a dependency on the external libfdt library anymore,
remove the instructions to compile and install it.

Signed-off-by: Alexandru Elisei <alexandru.elisei at arm.com>
---
 INSTALL | 27 +--------------------------
 1 file changed, 1 insertion(+), 26 deletions(-)

diff --git a/INSTALL b/INSTALL
index 951b12339887..db51c0fa8db6 100644
--- a/INSTALL
+++ b/INSTALL
@@ -26,11 +26,6 @@ For Fedora based systems:
 For OpenSUSE based systems:
 	# zypper install glibc-devel-static
 
-Architectures which require device tree (PowerPC, ARM, ARM64, RISC-V) also
-require libfdt.
-	deb: $ sudo apt-get install libfdt-dev
-	Fedora: # yum install libfdt-devel
-	OpenSUSE: # zypper install libfdt1-devel
 Also see "Cross compiling" below.
 
 Optional libraries
@@ -77,24 +72,4 @@ Missing libraries when cross-compiling
 The cross-compiler will look for target libraries in its SYSROOT directory,
 so you need to put the header and library files (.so) there.
 While most cross compiler packages come with the target's glibc already
-installed, optional libraries (or libfdt) maybe not.
-On multiarch system you should be able to install those be appending
-the architecture name after the package (example for ARM64):
-$ sudo apt-get install libfdt-dev:arm64
-
-PowerPC, ARM/ARM64 and RISC-V require libfdt to be installed. If you cannot use
-precompiled mulitarch packages, you could either copy the required header and
-library files from an installed target system into the SYSROOT (you will need
-/usr/include/*fdt*.h and /usr/lib64/libfdt-v.v.v.so and its symlinks), or you
-can cross-compile the libfdt library yourself:
-
-$ git clone git://git.kernel.org/pub/scm/utils/dtc/dtc.git
-$ cd dtc
-$ export CC=${CROSS_COMPILE}gcc
-$ TRIPLET=$($CC -dumpmachine)
-$ SYSROOT=$($CC -print-sysroot)
-$ make libfdt
-$ sudo make DESTDIR=$SYSROOT PREFIX=/usr LIBDIR=/usr/lib/$TRIPLET install-lib install-includes
-
-This assumes a multiarch-enabled system, if there is no per-arch directory for
-libraries, replace the LIBDIR paths above with LIBDIR=/usr/lib or /usr/lib64.
+installed, optional libraries may not be present.
-- 
2.36.1




More information about the linux-arm-kernel mailing list