aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-vmmc/Makefile
diff options
context:
space:
mode:
authorStefan Koch <stefan.koch10@gmail.com>2014-11-03 08:32:50 +0000
committerJohn Crispin <john@phrozen.org>2016-10-31 16:51:29 +0100
commit04cf9443c542fe202fb3a04fb0d46c582d5102c2 (patch)
tree0315711244cae6d7cfa063674529537cd42cded2 /package/kernel/lantiq/ltq-vmmc/Makefile
parent29367aac42d6e6d2863d9186cce776c18a0cad63 (diff)
downloadupstream-04cf9443c542fe202fb3a04fb0d46c582d5102c2.tar.gz
upstream-04cf9443c542fe202fb3a04fb0d46c582d5102c2.tar.bz2
upstream-04cf9443c542fe202fb3a04fb0d46c582d5102c2.zip
lantiq: fix vmmc build
(required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri <eddi@depieri.net> (cherry picked from commit 47b1ff965b0cb57013b40fbe2bcd7f3c6eb6b606) Modified after cherry-pick: FW_MD5SUM in Makefile Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
Diffstat (limited to 'package/kernel/lantiq/ltq-vmmc/Makefile')
-rw-r--r--package/kernel/lantiq/ltq-vmmc/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/package/kernel/lantiq/ltq-vmmc/Makefile b/package/kernel/lantiq/ltq-vmmc/Makefile
index 48cc5de0d2..d4df7d14c4 100644
--- a/package/kernel/lantiq/ltq-vmmc/Makefile
+++ b/package/kernel/lantiq/ltq-vmmc/Makefile
@@ -120,7 +120,19 @@ endif
ifeq ($(CONFIG_VOICE_CPE_VMMC_WITH_DEVICE_VR9),y)
CONFIGURE_ARGS += --with-device=VR9
- # TODO: add fw/coef
+ FW_TARGET:=voice_ar9_firmware.bin
+ FW_SOURCE:=voip_R2.3.1.7.0-enc.bin
+ FW_FILE=fw_voip_vr9-2.3.1.7.0.tar.gz
+ FW_MD5SUM:=9d716b99349b56b619dbaf6647b227cb
+ FW_DOWNLOAD:=1
+ COEF_SRC:=ETSI_3_10.BIN
+ COEF_TARGET:=vr9_bbd_fxs.bin
+ COEF_FILE:=coef_voip_vr9-0.9.3.tar.gz
+ COEF_MD5SUM:=66fa5c6a4110726b1f8658359b8008e6
+ COEF_DOWNLOAD:=1
+
+ COEF_SRC_FXO:=FXO_ETSI_0_0.BIN
+ COEF_TARGET_FXO:=vr9_bbd.bin
endif
define Download/firmware
@@ -162,6 +174,7 @@ define KernelPackage/ltq-vmmc/install
$(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)
+ $(CP) $(PKG_BUILD_DIR)/coef/$(COEF_SRC_FXO) $(1)/$(FW_DIR)/$(COEF_TARGET_FXO)
ln -s /$(FW_DIR)/$(COEF_TARGET) $(1)/$(FW_DIR)/$(COEF_TARGET_GENERIC)
endef