$NetBSD: patch-ab,v 1.1.1.1 2011/04/06 09:10:27 cegger Exp $ --- blktap/drivers/Makefile.orig 2008-08-01 16:38:07.000000000 +0200 +++ blktap/drivers/Makefile @@ -37,9 +37,11 @@ BLK-OBJS-y += block-qcow2.o BLK-OBJS-y += aes.o BLK-OBJS-y += tapaio.o BLK-OBJS-$(CONFIG_Linux) += blk_linux.o +BLK-OBJS-$(CONFIG_NetBSD) += blk_netbsd.o BLKTAB-OBJS-y := blktapctrl.o BLKTAB-OBJS-$(CONFIG_Linux) += blktapctrl_linux.o +BLKTAB-OBJS-$(CONFIG_NetBSD) += blktapctrl_netbsd.o all: $(IBIN) qcow-util