diff options
author | mogorman <mogorman@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-01-17 21:42:45 +0000 |
---|---|---|
committer | mogorman <mogorman@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-01-17 21:42:45 +0000 |
commit | 57f719d85f04bd036045c40c644e232a7196a564 (patch) | |
tree | 20bb3f438b302dd9104d304c7d54c10794fc2c32 /ztcodec_dte/Kbuild | |
parent | 09b4857c756ec320188f099d51697a708245e311 (diff) |
move to better binary methods
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1839 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'ztcodec_dte/Kbuild')
-rw-r--r-- | ztcodec_dte/Kbuild | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ztcodec_dte/Kbuild b/ztcodec_dte/Kbuild new file mode 100644 index 0000000..1cbd69a --- /dev/null +++ b/ztcodec_dte/Kbuild @@ -0,0 +1,15 @@ +obj-m += ztcodec_dte.o + +EXTRA_CFLAGS := -I$(src)/.. -Wno-undef + +ztcodec_dte-objs := base.o + +ifneq ($(HOTPLUG_FIRMWARE),yes) +ztcodec_dte-objs += firmware_dte.o +endif + +$(obj)/base.o: $(src)/../zaptel.h + +$(obj)/firmware_dte.o: $(src)/dte_firm.bin $(obj)/base.o + @echo Making firmware object file for $(notdir $<) + @cd $(src) && ../build_tools/make_firmware_object $(notdir $<) $@ $(obj)/base.o |