summaryrefslogtreecommitdiffstats
path: root/drivers/telephony/Makefile
blob: 9cbdedcc8aabf87868c19ecd7fb380784cba06e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# Makefile for drivers/telephony
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#

SUB_DIRS     :=
MOD_SUB_DIRS := $(SUB_DIRS)
ALL_SUB_DIRS := $(SUB_DIRS)

obj-y   :=
obj-n   :=
obj-m   :=
obj-    :=
export-objs := phonedev.o

obj-$(CONFIG_PHONE) += phonedev.o
obj-$(CONFIG_PHONE_IXJ) += ixj.o

O_TARGET := telephony.o
O_OBJS   := $(filter-out $(export-objs), $(obj-y))
OX_OBJS  := $(filter     $(export-objs), $(obj-y))
M_OBJS   := $(sort $(filter-out $(export-objs), $(obj-m)))
MX_OBJS  := $(sort $(filter     $(export-objs), $(obj-m)))

include $(TOPDIR)/Rules.make