summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2009-10-03 17:08:02 +0000
committerhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2009-10-03 17:08:02 +0000
commiteb128eaacfc555e3a71981e5c0cb8b299b27c93b (patch)
tree646c28ba6b0835bb102873d2a04bed25e7d0a616 /README
parentdad3991058a8a12dc8907fb9bbc061b17bef3edc (diff)
downloadflashrom-eb128eaacfc555e3a71981e5c0cb8b299b27c93b.tar.gz
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 <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@743 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'README')
-rw-r--r--README9
1 files changed, 6 insertions, 3 deletions
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