mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
Allow compilation on Solaris
Fix compilation on Solaris and tell people how to compile flashrom on Solaris, Darwin/Mac OS X and DragonFly BSD. Thanks to Joerg Schilling and Patrick Georgi for the Solaris part. Corresponding to flashrom svn r452. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
11
README
11
README
@ -21,6 +21,17 @@ To build the flashrom utility you need to install the following packages:
|
||||
* pciutils-devel / pciutils-dev / libpci-dev
|
||||
* zlib-devel / zlib1g-dev
|
||||
|
||||
To compile on Solaris, use the commands below:
|
||||
gmake LDFLAGS="-L$pathtolibpci -lpci -lz" CC="gcc -I$pathtopciheaders" CFLAGS=-O2
|
||||
|
||||
To compile on DragonFly BSD, use the commands below:
|
||||
ln -s /usr/pkg/include/pciutils pci
|
||||
gmake CFLAGS=-I. LDFLAGS="-L/usr/pkg/lib -lpci -lz"
|
||||
|
||||
To compile and run on Darwin/Mac OS X:
|
||||
Install DirectIO from coresystems GmbH.
|
||||
DirectIO is available at http://www.coresystems.de/en/directio
|
||||
|
||||
|
||||
Usage / Options
|
||||
---------------
|
||||
|
Reference in New Issue
Block a user