summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-10-03 17:08:02 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-10-03 17:08:02 +0000
commita472b8b097fcd369929529e86f7350adaf1ae193 (patch)
tree646c28ba6b0835bb102873d2a04bed25e7d0a616 /README
parentc67d03701b4348eee9dfd5e38733a1b0eda73d08 (diff)
downloadflashrom-a472b8b097fcd369929529e86f7350adaf1ae193.tar.gz
flashrom-a472b8b097fcd369929529e86f7350adaf1ae193.tar.bz2
flashrom-a472b8b097fcd369929529e86f7350adaf1ae193.zip
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 <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stepan@coresystems.de>
Diffstat (limited to 'README')
-rw-r--r--README9
1 files changed, 6 insertions, 3 deletions
diff --git a/README b/README
index b6a079210..1a959750c 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