summaryrefslogtreecommitdiff
path: root/wcte12xp/Makefile.kernel26
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-12-08 17:04:11 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-12-08 17:04:11 +0000
commitdb2602ee74c907582858c1225bb0fffffe604a00 (patch)
treef08c566c96008fdca60d6231c653f4804ad5e263 /wcte12xp/Makefile.kernel26
parentb6c017d1b25f9621fd6738419b6cd1377ca6eb3e (diff)
clean up firmware handling across wct4xxp, wctc4xxp, wctdm24xxp and wcte12xp drivers to use consistent methods
add non-hotplug firmware loading support to wctdm24xxp and wcte12xp add license and copyright headers to various files that did not have them clean up header inclusion in some files git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3365 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wcte12xp/Makefile.kernel26')
-rw-r--r--wcte12xp/Makefile.kernel2610
1 files changed, 10 insertions, 0 deletions
diff --git a/wcte12xp/Makefile.kernel26 b/wcte12xp/Makefile.kernel26
index c692631..c41e8f1 100644
--- a/wcte12xp/Makefile.kernel26
+++ b/wcte12xp/Makefile.kernel26
@@ -1,9 +1,19 @@
obj-m += wcte12xp.o
+EXTRA_CFLAGS := -I$(src)/.. -Wno-undef
+
wcte12xp-objs := base.o vpmadt032.o GpakApi.o
+ifneq ($(HOTPLUG_FIRMWARE),yes)
+wcte12xp-objs += firmware_vpmadt032.o
+endif
+
$(obj)/base.o: $(src)/../zaptel.h
$(obj)/vpmadt032.o: $(src)/vpmadt032.h
$(obj)/GpakApi.o: $(src)/GpakApi.h
+
+$(obj)/firmware_vpmadt032.o: $(src)/VPMADT032.bin $(obj)/base.o
+ @echo Making firmware object file for $(notdir $<)
+ @cd $(src) && ../build_tools/make_firmware_object $(notdir $<) $@ $(obj)/base.o