summaryrefslogtreecommitdiff
path: root/wctdm24xxp
diff options
context:
space:
mode:
authorfile <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-07-24 18:02:35 +0000
committerfile <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-07-24 18:02:35 +0000
commitaa5374330e4fcbde882f807b7df5d5fdaff71ca6 (patch)
tree87b79f60110120dfc2045695c10c33516cc02f5a /wctdm24xxp
parent671825cb9b7c04a8178a05acde99e23951fda9f0 (diff)
Add support for building the firmware for the wctdm24xxp driver as an object using the new firmware system.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2776 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm24xxp')
-rw-r--r--wctdm24xxp/Makefile5
-rw-r--r--wctdm24xxp/Makefile.kernel267
-rw-r--r--wctdm24xxp/VPMADT032.binbin60980 -> 0 bytes
3 files changed, 11 insertions, 1 deletions
diff --git a/wctdm24xxp/Makefile b/wctdm24xxp/Makefile
index 9927928..79a7d3c 100644
--- a/wctdm24xxp/Makefile
+++ b/wctdm24xxp/Makefile
@@ -13,7 +13,10 @@ base.o: ../zaptel.h GpakCust.h ../wctdm.h
GpakCust.o: GpakCust.h
-wctdm24xxp.o: base.o GpakCust.o GpakApi.o
+../firmware/zaptel-fw-vpmadt032.o: base.o
+ $(MAKE) -C ../firmware zaptel-fw-vpmadt032.o
+
+wctdm24xxp.o: base.o GpakCust.o GpakApi.o ../firmware/zaptel-fw-vpmadt032.o
$(LD) -r -o $@ $^
clean:
diff --git a/wctdm24xxp/Makefile.kernel26 b/wctdm24xxp/Makefile.kernel26
index f9fbf0c..eff3490 100644
--- a/wctdm24xxp/Makefile.kernel26
+++ b/wctdm24xxp/Makefile.kernel26
@@ -4,6 +4,13 @@ EXTRA_CFLAGS := -I$(src)/.. -Wno-undef
wctdm24xxp-objs := base.o GpakCust.o GpakApi.o
+ifneq ($(HOTPLUG_FIRMWARE),yes)
+wctdm24xxp-objs += ../firmware/zaptel-fw-vpmadt032.o
+endif
+
+$(obj)/../firmware/zaptel-fw-vpmadt032.o: $(obj)/base.o
+ $(MAKE) -C $(obj)/../firmware zaptel-fw-vpmadt032.o
+
$(obj)/base.o: $(src)/GpakCust.h $(src)/wctdm24xxp.h
$(obj)/base.o: $(src)/../zaptel.h
diff --git a/wctdm24xxp/VPMADT032.bin b/wctdm24xxp/VPMADT032.bin
deleted file mode 100644
index e882060..0000000
--- a/wctdm24xxp/VPMADT032.bin
+++ /dev/null
Binary files differ