From 7ea60cedb5e183a7d00ca35af76e58819810c8e4 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Fri, 27 Jan 2006 09:08:32 +0000 Subject: [PATCH] add an option BKTR_USE_FREEBSD_SMBUS that enables compiling the module with same option... MFC after: 3 days --- sys/modules/bktr/bktr/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/modules/bktr/bktr/Makefile b/sys/modules/bktr/bktr/Makefile index 4543994830d6..f48f3e7f68b0 100644 --- a/sys/modules/bktr/bktr/Makefile +++ b/sys/modules/bktr/bktr/Makefile @@ -11,4 +11,9 @@ SRCS= bktr_core.c bktr_os.c bktr_audio.c bktr_tuner.c bktr_card.c msp34xx.c \ CFLAGS+= -DBKTR_FREEBSD_MODULE +.if defined(BKTR_USE_FREEBSD_SMBUS) +SRCS+= bktr_i2c.c iicbb_if.h iicbus_if.h smbus_if.h +CFLAGS+= -DBKTR_USE_FREEBSD_SMBUS +.endif + .include