aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-06-02 14:03:30 +0000
committerJohn Crispin <john@openwrt.org>2012-06-02 14:03:30 +0000
commit8d43ddab2f334b84df0c3160a8a24a1ddeae0979 (patch)
tree3ef2aa5609c03aa2e5a4a0a6a2b4a224ca78cace /package
parenta4fa2cb6115815a383933ace6791e8954b2975e0 (diff)
downloadupstream-8d43ddab2f334b84df0c3160a8a24a1ddeae0979.tar.gz
upstream-8d43ddab2f334b84df0c3160a8a24a1ddeae0979.tar.bz2
upstream-8d43ddab2f334b84df0c3160a8a24a1ddeae0979.zip
use symlinks for voip FW to make laoding easier
SVN-Revision: 32025
Diffstat (limited to 'package')
-rw-r--r--package/ltq-vmmc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/ltq-vmmc/Makefile b/package/ltq-vmmc/Makefile
index 464d005c44..a0af1e5304 100644
--- a/package/ltq-vmmc/Makefile
+++ b/package/ltq-vmmc/Makefile
@@ -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))