From 51ac8382dc99be21760bb40a641325b276324a83 Mon Sep 17 00:00:00 2001 From: Jonathan Kollasch Date: Sun, 24 Oct 2010 14:10:35 +0000 Subject: Provide for I/O space access on NetBSD. Signed-off-by: Jonathan Kollasch Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5982 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/superiotool/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util/superiotool/Makefile') diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile index 566388ba31..bcdb107d71 100644 --- a/util/superiotool/Makefile +++ b/util/superiotool/Makefile @@ -46,6 +46,9 @@ CFLAGS = -O2 -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing \ LDFLAGS += -L/usr/local/lib LIBS = -lz endif +ifeq ($(OS_ARCH), NetBSD) +LDFLAGS = -l$(shell uname -p) +endif # Support for PCI-attached "Super I/Os" (e.g. in VIA VT82686A/B). CONFIG_PCI = yes -- cgit v1.2.3