From a472b8b097fcd369929529e86f7350adaf1ae193 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Sat, 3 Oct 2009 17:08:02 +0000 Subject: There is no need to tell people to install libz if flashrom doesn't need libz So far, the only case where libz is needed is when a library (libpci) pulls in libz and even then it only happens if libpci is available in a static version only and said static version has libz requirements. Check for libpci separately and don't require libz if it isn't needed. Clarify the README. Corresponding to flashrom svn r743. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Stefan Reinauer --- README | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'README') diff --git a/README b/README index b6a07921..1a959750 100644 --- a/README +++ b/README @@ -38,7 +38,7 @@ To build flashrom you need to install the following packages or ports: Linux et al: - * pciutils + * pciutils / libpci * pciutils-devel / pciutils-dev / libpci-dev * zlib-devel / zlib1g-dev (only needed if libpci is static) @@ -79,11 +79,14 @@ Installation In order to install flashrom and the manpage into /usr/local, type: - sudo make install + make install For installation in a different directory use DESTDIR, e.g. like this: - sudo make DESTDIR=/usr install + make DESTDIR=/usr install + +If you have insufficient permissions for the destination directory, use sudo +by adding sudo in front of the commands above. Usage / Options -- cgit v1.2.3