📄 makefile.kld
字号:
# Makefile.kld to build a driver with linux emulation.# $Id: Makefile.kld,v 1.13 2007/01/29 19:04:29 luigi Exp $## Here you should set the following:# .PATH: driver-specific paths# SRCS= list of (driver) source files that we want to compile.# KMOD= driver name (one word, will be used also elsewhere).# CFLAGS= any driver-specific flags you might need. Often# -Ixyz listing all directories with include files.# KLINPATH= path of linux_compat relative to .CURDIR## Any other driver-specific variables..PATH: ${.CURDIR} ${.CURDIR}/decoder # sources for the linux driverSRCS= gspca_core.c gspcadecoder.cKMOD=gspcaCFLAGS+= -ISunplus -ISunplus-jpeg -ISonix -IConexantCFLAGS+= -IVimicro -IdecoderCFLAGS+= -DUSB_DEBUG#DEBUG_FLAGS=-g#--- Here are the driver-specific variablesVERSION = 01.00.18#### 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 debuggingCFLAGS += -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 compressionCFLAGS += -DGSPCA_ENABLE_COMPRESSION#### Rest of Makefile follows here. You probably won't need to touch this.# Setup definesCFLAGS += -DCONFIG_USB_GSPCA_MODULE=1 -D__KERNEL__#CFLAGS += -DCONFIG_USB_GSPCA_MODULE=1 -DMODULE -D__KERNEL__CFLAGS += -DVID_HARDWARE_GSPCA=0xFF -DGSPCA_VERSION=\"$(VERSION)\".include <linux_compat/bsd.linux_kmod.mk>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -