33 lines
558 B
Makefile
33 lines
558 B
Makefile
# Makefile for the pcbit ISDN device driver
|
|
|
|
# The target object and module list name.
|
|
|
|
O_TARGET := pcbit_drv.o
|
|
|
|
# Objects that export symbols.
|
|
|
|
export-objs :=
|
|
|
|
# Multipart objects.
|
|
|
|
list-multi := pcbit.o
|
|
pcbit-objs := module.o edss1.o drv.o layer2.o capi.o callbacks.o
|
|
|
|
# Object file lists.
|
|
|
|
obj-y :=
|
|
obj-m :=
|
|
obj-n :=
|
|
obj- :=
|
|
|
|
# Each configuration option enables a list of files.
|
|
|
|
obj-$(CONFIG_ISDN_DRV_PCBIT) += pcbit.o
|
|
|
|
include $(TOPDIR)/drivers/isdn/Rules.make
|
|
|
|
# Link rules for multi-part drivers.
|
|
|
|
pcbit.o: $(pcbit-objs)
|
|
$(LD) -r -o $@ $(pcbit-objs)
|