summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJonathan A. Kollasch <jakllsch@kollasch.net>2010-01-08 21:18:08 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-01-08 21:18:08 +0000
commit3646c8f31fbb4f52cac04129b8d6898fb00e1eab (patch)
treea33cfec31d050837f0466feeda9deef0c636b4f6 /Makefile
parentaca1dce951be2d36d934910a80e19d4b56d455eb (diff)
downloadast2050-flashrom-3646c8f31fbb4f52cac04129b8d6898fb00e1eab.zip
ast2050-flashrom-3646c8f31fbb4f52cac04129b8d6898fb00e1eab.tar.gz
Add support for NetBSD
Corresponding to flashrom svn r838. Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8a9c13f..d2f04ec 100644
--- a/Makefile
+++ b/Makefile
@@ -178,6 +178,10 @@ PROGRAMMER_OBJS += pcidev.o physmap.o internal.o #FIXME: We need to move stuff
# into internal-programmer-only stuff
# and a support lib for all internal+pci
# based stuff.
+ifeq ($(OS_ARCH), NetBSD)
+LIBS += -lpciutils # The libpci we want.
+LIBS += -l$(shell uname -m) # For (i386|x86_64)_iopl(2).
+endif
endif
ifeq ($(CONFIG_PRINT_WIKI), yes)
OpenPOWER on IntegriCloud