From 3646c8f31fbb4f52cac04129b8d6898fb00e1eab Mon Sep 17 00:00:00 2001 From: "Jonathan A. Kollasch" Date: Fri, 8 Jan 2010 21:18:08 +0000 Subject: Add support for NetBSD Corresponding to flashrom svn r838. Signed-off-by: Jonathan A. Kollasch Acked-by: Carl-Daniel Hailfinger --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') 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) -- cgit v1.1