From 63085dd9cd5c7caac161acc5abe9ffcefceeb811 Mon Sep 17 00:00:00 2001 From: he Date: Thu, 17 Nov 2011 09:58:21 +0000 Subject: [PATCH] Make the test for MKISCSI actually work by including bsd.own.mk and testing the expanded variable, not just the variable name(!) Fixes the build for sun2. --- sys/dev/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/dev/Makefile b/sys/dev/Makefile index cbcc21d142cf..b9b85e382237 100644 --- a/sys/dev/Makefile +++ b/sys/dev/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.33 2011/11/15 16:50:43 riz Exp $ +# $NetBSD: Makefile,v 1.34 2011/11/17 09:58:21 he Exp $ SUBDIR= apm ata bluetooth dec dm dmover dtv hpc i2c i2o ic ieee1394 ir isa \ microcode ofw pci pckbport pcmcia pud putter raidframe sbus scsipi \ sun tc usb vme wscons -.if MKISCSI != "no" +.include + +.if ${MKISCSI} != "no" SUBDIR+= iscsi .endif