summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorstuge <stuge@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2009-05-03 23:33:05 +0000
committerstuge <stuge@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2009-05-03 23:33:05 +0000
commit93f3ebeefb66a38c4002811efffb986b5dd12722 (patch)
tree4089485c343e4354179ce5d9109fba3d2b79c6ec /README
parent816066424e8c1e67b6b1e2a14c6f2e9e3494a68b (diff)
downloadflashrom-93f3ebeefb66a38c4002811efffb986b5dd12722.tar.gz
Complement the README file with build instructions for the platforms it
currently compiles on. Signed-off-by: Idwer Vollering <vidwer@gmail.com> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@453 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'README')
-rw-r--r--README11
1 files changed, 10 insertions, 1 deletions
diff --git a/README b/README
index b9a253a..95397b2 100644
--- a/README
+++ b/README
@@ -15,12 +15,21 @@ or SPI.
Build Requirements
------------------
-To build the flashrom utility you need to install the following packages:
+To build the flashrom utility you need to install the following packages or
+ports:
+Linux et al:
* pciutils
* pciutils-devel / pciutils-dev / libpci-dev
* zlib-devel / zlib1g-dev
+On FreeBSD, you need the following ports:
+* devel/gmake
+* devel/libpci
+
+To compile on FreeBSD, use the command below:
+gmake
+
To compile on Solaris, use the commands below:
gmake LDFLAGS="-L$pathtolibpci -lpci -lz" CC="gcc -I$pathtopciheaders" CFLAGS=-O2