drivers/comedi/Makefile

Source file repositories/reference/linux-study-clean/drivers/comedi/Makefile

File Facts

System
Linux kernel
Corpus path
drivers/comedi/Makefile
Extension
[no extension]
Size
449 bytes
Lines
16
Domain
Driver Families
Bucket
drivers/comedi
Inferred role
Driver Families: build/configuration rule
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0
ccflags-$(CONFIG_COMEDI_DEBUG)		:= -DDEBUG

comedi-y				:= comedi_fops.o range.o drivers.o \
					   comedi_buf.o
comedi-$(CONFIG_PROC_FS)		+= proc.o

obj-$(CONFIG_COMEDI_PCI_DRIVERS)	+= comedi_pci.o
obj-$(CONFIG_COMEDI_PCMCIA_DRIVERS)	+= comedi_pcmcia.o
obj-$(CONFIG_COMEDI_USB_DRIVERS)	+= comedi_usb.o

obj-$(CONFIG_COMEDI)			+= comedi.o

obj-$(CONFIG_COMEDI)			+= kcomedilib/
obj-$(CONFIG_COMEDI)			+= drivers/

Annotation

Implementation Notes