From f56d3011031d30a1caa20463f7f8d84751af5f80 Mon Sep 17 00:00:00 2001 From: stefanct Date: Thu, 12 Sep 2013 15:48:39 +0000 Subject: 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. Signed-off-by: Stefan Tauner Tested-by: Idwer Vollering Acked-by: Stefan Tauner git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1742 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- README | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'README') diff --git a/README b/README index a096aad..b3e50a6 100644 --- a/README +++ b/README @@ -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: -- cgit v1.2.1