add an option BKTR_USE_FREEBSD_SMBUS that enables compiling the module

with same option...

MFC after:	3 days
This commit is contained in:
John-Mark Gurney 2006-01-27 09:08:32 +00:00
parent 2ee4be8ec6
commit 7ea60cedb5

View File

@ -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 <bsd.kmod.mk>