diff options
author | Shaun Ruffell <sruffell@digium.com> | 2012-04-02 13:58:11 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2012-04-02 13:58:11 +0000 |
commit | 6dbace7374c2f27f50762a5445b28960a135c718 (patch) | |
tree | b534bb4ca33f0be5ce5d3bce2b1d02658fed125d /drivers/dahdi/voicebus/Kbuild | |
parent | 71845b28246756edcdb124696003ca8c41bddf97 (diff) |
wctdm24xxp, wcte12xp: Allow VPMOCT032 firmware to be compiled into driver.
Enables the driver to update firmware on systems that do not have the firmware
loader configured / enabled (Linux config option CONFIG_FW_LOADER). Compiling
the firmware into the driver increase the memory footprint by around ~440K.
Internal-Issue-ID: DAHDI-963
Reported-and-Tested-by: Guenther Kelleter
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10618 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/voicebus/Kbuild')
-rw-r--r-- | drivers/dahdi/voicebus/Kbuild | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/dahdi/voicebus/Kbuild b/drivers/dahdi/voicebus/Kbuild index b8b23ff..6266653 100644 --- a/drivers/dahdi/voicebus/Kbuild +++ b/drivers/dahdi/voicebus/Kbuild @@ -2,4 +2,16 @@ obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_VOICEBUS) += dahdi_voicebus.o dahdi_voicebus-objs := voicebus.o GpakCust.o GpakApi.o voicebus_net.o vpmoct.o -EXTRA_CFLAGS := -I$(src)/.. -Wno-undef +FIRM_DIR := ../firmware + +ifneq ($(HOTPLUG_FIRMWARE),yes) +dahdi_voicebus-objs += $(FIRM_DIR)/dahdi-fw-vpmoct032.o +else + EXTRA_CFLAGS+=-DHOTPLUG_FIRMWARE +endif + +EXTRA_CFLAGS += -I$(src)/.. -Wno-undef + +$(obj)/$(FIRM_DIR)/dahdi-fw-vpmoct032.o: $(obj)/voicebus.o + $(MAKE) -C $(obj)/$(FIRM_DIR) dahdi-fw-vpmoct032.o + |