From eb128eaacfc555e3a71981e5c0cb8b299b27c93b Mon Sep 17 00:00:00 2001 From: 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. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Stefan Reinauer git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@743 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- README | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'README') diff --git a/README b/README index b6a0792..1a95975 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.1