diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2013-09-12 15:48:39 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2013-09-12 15:48:39 +0000 |
commit | c65b8555d5c002dfa102377849916327e05c7712 (patch) | |
tree | 38e32d281cb3e396de0ae7783ed71fce2d9c9ff5 /README | |
parent | 4442b81fd8ba9236813a22bec77f5920033a7df5 (diff) | |
download | flashrom-c65b8555d5c002dfa102377849916327e05c7712.tar.gz flashrom-c65b8555d5c002dfa102377849916327e05c7712.tar.bz2 flashrom-c65b8555d5c002dfa102377849916327e05c7712.zip |
BSD refinements
Make it easier to compile flashrom under NetBSD and DragonFlyBSD:
- Use /usr/pkg/ as prefix for includes and linking
- Use pciutils as include path for the right(tm) libpci
Also, fix date handling in getrevision.sh to work with the various formats for
invoking 'date'. This also uses svn's info --xml output instead of the regular one.
Corresponding to flashrom svn r1742.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Tested-by: Idwer Vollering <vidwer@gmail.com>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'README')
-rw-r--r-- | README | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -80,11 +80,9 @@ To compile on Solaris, use: gmake LDFLAGS="-L$pathtolibpci" CC="gcc -I$pathtopciheaders" CFLAGS=-O2 -To compile on NetBSD or DragonFly BSD, use: +To compile on NetBSD or DragonFly BSD (with pciutils, libftdi, libusb installed in /usr/pkg/), use: - ln -s /usr/pkg/include/pciutils pci - gmake CPPFLAGS="-I. -I/usr/pkg/include" \ - LDFLAGS="-L/usr/pkg/lib -Wl,-rpath-link,/usr/pkg/lib" + gmake To compile on OpenBSD, use: |