[flashrom] [commit] r1033 - trunk
repository service
svn at flashrom.org
Sat Jun 5 01:24:57 CEST 2010
Author: hailfinger
Date: Sat Jun 5 01:24:57 2010
New Revision: 1033
URL: http://flashrom.org/trac/coreboot/changeset/1033
Log:
NetBSD needs libpciutils (which is called libpci on pretty much every
other platform and lives in the pciutils package) and apparently the
libpciutils on NetBSD needs the NetBSD-native libpci (no equivalent on
other platforms).
Thanks to Jonathan A. Kollasch for reporting.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Acked-by: Jonathan A. Kollasch <jakllsch at kollasch.net>
Modified:
trunk/Makefile
Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile Sat Jun 5 01:20:21 2010 (r1032)
+++ trunk/Makefile Sat Jun 5 01:24:57 2010 (r1033)
@@ -220,8 +220,10 @@
FEATURE_CFLAGS += -D'NEED_PCI=1'
PROGRAMMER_OBJS += pcidev.o physmap.o hwaccess.o
ifeq ($(OS_ARCH), NetBSD)
-LIBS += -lpciutils # The libpci we want.
-LIBS += -l$(shell uname -p) # For (i386|x86_64)_iopl(2).
+# The libpci we want is called libpciutils on NetBSD and needs NetBSD libpci.
+LIBS += -lpciutils -lpci
+# For (i386|x86_64)_iopl(2).
+LIBS += -l$(shell uname -p)
else
ifeq ($(OS_ARCH), DOS)
# FIXME There needs to be a better way to do this
More information about the flashrom
mailing list