mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-23 07:41:08 +02:00
[ltq-vmmc] use symlinks for voip FW to make laoding easier
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32025 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ae1aca2eb7
commit
4c258bc75e
@ -67,7 +67,10 @@ COEF_FILE:=coef_voip_ifx.tar.gz
|
||||
|
||||
FW_DIR:=lib/firmware
|
||||
|
||||
ifeq ($(CONFIG_VOICE_CPE_VMMC_WITH_DEVICE_DANUBE),y)
|
||||
FW_TARGET_GENERIC:=$(FW_TARGET)
|
||||
COEF_TARGET_GENERIC:=$(COEF_TARGET)
|
||||
|
||||
ifeq ($(CONFIG_VOICE_CPE_VMMC_WITH_DEVICE_DANUBE)$(CONFIG_LTQ_VOICE_CPE_VMMC_WITH_DEVICE_DANUBE),y)
|
||||
CONFIGURE_ARGS += --with-device=DANUBE
|
||||
FW_SOURCE:=voip_R12.1.0.1.0-enc.bin
|
||||
FW_TARGET:=danube_firmware.bin
|
||||
@ -154,7 +157,9 @@ define KernelPackage/ltq-vmmc/install
|
||||
$(INSTALL_DIR) $(1)/etc/init.d $(1)/$(FW_DIR)
|
||||
$(INSTALL_BIN) ./files/vmmc.init $(1)/etc/init.d/vmmc
|
||||
$(CP) $(PKG_BUILD_DIR)/firmware/$(FW_SOURCE) $(1)/$(FW_DIR)/$(FW_TARGET)
|
||||
ln -s /$(FW_DIR)/$(FW_TARGET) $(1)/$(FW_DIR)/$(FW_TARGET_GENERIC)
|
||||
$(CP) $(PKG_BUILD_DIR)/coef/$(COEF_SRC) $(1)/$(FW_DIR)/$(COEF_TARGET)
|
||||
ln -s /$(FW_DIR)/$(COEF_TARGET) $(1)/$(FW_DIR)/$(COEF_TARGET_GENERIC)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ltq-vmmc))
|
||||
|
Loading…
x
Reference in New Issue
Block a user