1238de608b
that already includes most of the patches previously used here.
43 lines
1.1 KiB
Text
43 lines
1.1 KiB
Text
# Makefile.kld to build a driver with linux emulation.
|
|
# See /usr/share/mk/bsd.linux_kmod.mk for more info
|
|
|
|
.PATH: ${.CURDIR} ${.CURDIR}/decoder
|
|
|
|
SRCS= gspca_core.c gspcadecoder.c # sources for the linux driver
|
|
|
|
KMOD=gspca # module name
|
|
|
|
CFLAGS+= -ISunplus -ISunplus-jpeg -ISonix -IConexant
|
|
CFLAGS+= -IVimicro -Idecoder
|
|
CFLAGS+= -DUSB_DEBUG
|
|
|
|
#--- Here are the driver-specific variables
|
|
|
|
VERSION = 01.00.20
|
|
|
|
###
|
|
# The following flags enable experimental features.
|
|
# By default, these are enabled for development versions of the driver, and
|
|
# disabled for release versions.
|
|
|
|
# Optional: Enable driver debugging
|
|
CFLAGS += -DGSPCA_ENABLE_DEBUG
|
|
|
|
# Optional: Enable direct register read/write for PAC207 development
|
|
#CFLAGS += -DGSPCA_ENABLE_REGISTERPLAY
|
|
|
|
###
|
|
# The following flags enable features that aren't yet implemented, and
|
|
# therefore are disabled by default.
|
|
|
|
# Optional: Enable compression
|
|
CFLAGS += -DGSPCA_ENABLE_COMPRESSION
|
|
|
|
###
|
|
# Rest of Makefile follows here. You probably won't need to touch this.
|
|
|
|
# Setup defines
|
|
CFLAGS += -DCONFIG_USB_GSPCA_MODULE=1
|
|
CFLAGS += -DVID_HARDWARE_GSPCA=0xFF -DGSPCA_VERSION=\"$(VERSION)\"
|
|
|
|
.include <bsd.linux_kmod.mk>
|