diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-05-03 23:06:02 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-05-03 23:06:02 +0000 |
commit | 2dd60aaf18e98b0e9d3c06bd9dce5f1128fa55ad (patch) | |
tree | 1a1cd28888f191e6ce83bcbbe539124e2529c90b /xpp/Makefile | |
parent | 8c4db4e3acd9a7626e709af0494055487b589719 (diff) |
xpp driver release 1.1.0 (first part of commit)
* FPGA firmware now loaded from PC (for newer models)
* Driver for the FXO module
* Moved most userspace files to the subdirectory utils (see also next commit)
* Explicit license for firmware files
* Optionally avoid auto-registration
* Initializations parameters to chips given from userspace
* And did I mention bugfixes?
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1021 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/Makefile')
-rw-r--r-- | xpp/Makefile | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/xpp/Makefile b/xpp/Makefile index 1207332..ec7ecbe 100644 --- a/xpp/Makefile +++ b/xpp/Makefile @@ -1,5 +1,30 @@ -EXTRA_CFLAGS = -I$(src)/.. -DSOFT_SIMULATOR=0 +EXTRA_CFLAGS = -I$(SUBDIRS) -DDEBUG # -DHARD_CODED_INIT # -DOLD_CARD # -DWITH_RBS -obj-m = xpd_fxs.o xpp.o xpp_usb.o -xpp-y += xproto.o card_global.o xpp_zap.o zap_debug.o -xpd_fxs-y += card_fxs.o slic.o +obj-m = xpp.o xpd_fxs.o xpd_fxo.o xpp_usb.o +xpp-y += xbus-core.o xpp_zap.o xproto.o card_global.o +xpd_fxs-y += card_fxs.o slic.o +xpd_fxo-y += card_fxo.o slic.o + +GENERATE_INIT_DATA := 1 +INIT_DATA = init_data_3_19.inc init_data_3_20.inc init_data_4_19.inc init_data_4_20.inc +clean-files := $(INIT_DATA) + +cmd2inc=$(src)/cmd2inc + +define run_cmd2inc +if [ ! -x $(cmd2inc) ]; then chmod +x $(cmd2inc); fi +$(cmd2inc) $^ $@ +endef + +ifeq ($(GENERATE_INIT_DATA),1) + +$(obj)/%.inc: $(src)/%.cmd + @echo "Generating $@" + @$(run_cmd2inc) + +init_data: $(INIT_DATA) + +$(obj)/card_fxs.o: $(obj)/init_data_3_19.inc $(obj)/init_data_3_20.inc +$(obj)/card_fxo.o: $(obj)/init_data_4_19.inc $(obj)/init_data_4_20.inc + +endif |