f65299e8b2
Soon there will be more than one driver in the source tree that will want to use these files. Compiling it as a library speeds the build since it won't have to be built for each driver that wants to link it in. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>
31 lines
1.6 KiB
Makefile
31 lines
1.6 KiB
Makefile
#
|
|
# Produces the oct612x library
|
|
#
|
|
octapi_files = octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.o \
|
|
octdeviceapi/oct6100api/oct6100_api/oct6100_channel.o \
|
|
octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.o \
|
|
octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.o \
|
|
octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.o \
|
|
octdeviceapi/oct6100api/oct6100_api/oct6100_debug.o \
|
|
octdeviceapi/oct6100api/oct6100_api/oct6100_events.o \
|
|
octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.o \
|
|
octdeviceapi/oct6100api/oct6100_api/oct6100_memory.o \
|
|
octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.o \
|
|
octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.o \
|
|
octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.o \
|
|
octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.o \
|
|
octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.o \
|
|
octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.o \
|
|
octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.o \
|
|
octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.o \
|
|
octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.o \
|
|
apilib/bt/octapi_bt0.o \
|
|
apilib/largmath/octapi_largmath.o \
|
|
apilib/llman/octapi_llman.o
|
|
|
|
# TODO: ccflags was added in 2.6.24 in commit f77bf01425b11947eeb3b5b54. This
|
|
# should be changed to a conditional compilation based on the Kernel Version.
|
|
# ccflags-y := -I$(src)/.. -Wno-undef -I$(src)/include -I$(src)/octdeviceapi -I$(src)/octdeviceapi/oct6100api
|
|
EXTRA_CFLAGS = -I$(src)/.. -Wno-undef -I$(src)/include -I$(src)/octdeviceapi -I$(src)/octdeviceapi/oct6100api
|
|
lib-y := $(octapi_files)
|