aboutsummaryrefslogtreecommitdiffstats
path: root/package/firmware/lantiq/dsl-vrx200-firmware-xdsl-a/Makefile
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2015-11-25 22:33:17 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2015-11-25 22:33:17 +0000
commitab9de091a677487565e396428ebf81e5ef8d196d (patch)
tree841f1c274e6b13c3f042719ac7b0393c71b045a4 /package/firmware/lantiq/dsl-vrx200-firmware-xdsl-a/Makefile
parenta466bfe8f4f9e9d79d6f1aa2d5cb839457654cc5 (diff)
downloadupstream-ab9de091a677487565e396428ebf81e5ef8d196d.tar.gz
upstream-ab9de091a677487565e396428ebf81e5ef8d196d.tar.bz2
upstream-ab9de091a677487565e396428ebf81e5ef8d196d.zip
lantiq: dsl-vrx200-firmware-xdsl-a: rename to VRX200 and add annex a
This just renamed the package to indicate that this is the annex a version. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> SVN-Revision: 47649
Diffstat (limited to 'package/firmware/lantiq/dsl-vrx200-firmware-xdsl-a/Makefile')
-rw-r--r--package/firmware/lantiq/dsl-vrx200-firmware-xdsl-a/Makefile47
1 files changed, 47 insertions, 0 deletions
diff --git a/package/firmware/lantiq/dsl-vrx200-firmware-xdsl-a/Makefile b/package/firmware/lantiq/dsl-vrx200-firmware-xdsl-a/Makefile
new file mode 100644
index 0000000000..e8dd6599a3
--- /dev/null
+++ b/package/firmware/lantiq/dsl-vrx200-firmware-xdsl-a/Makefile
@@ -0,0 +1,47 @@
+# Copyright (C) 2015 OpenWrt.org
+# Copyright (C) 2015 Lantiq Beteiligungs GmbH & Co KG.
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=dsl_vr9_firmware_xdsl
+PKG_VERSION:=05.07.04.03.00.06_05.07.01.08.00.01_osc
+PKG_RELEASE:=1
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
+PKG_MD5SUM:=4c8d9ca68dda88d3cfc0ca0fb946a63e
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/dsl-vrx200-firmware-xdsl-a
+ SECTION:=firmware
+ CATEGORY:=Firmware
+ TITLE:=VRX200 / VR9 CPE xDSL Annex A firmware
+ URL:=http://www.lantiq.com/
+ DEPENDS:=@TARGET_lantiq_xrx200
+endef
+
+define Package/dsl-vrx200-firmware-xdsl-a/description
+ VRX200 / VR9 CPE VDSL and ADSL Annex A firmware
+endef
+
+define Build/Prepare
+ rm -rf $(PKG_BUILD_DIR)
+ mkdir -p $(PKG_BUILD_DIR)
+ $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(PKG_SOURCE)
+endef
+
+define Build/Compile
+endef
+
+define Package/dsl-vrx200-firmware-xdsl-a/install
+ $(INSTALL_DIR) $(1)/lib/firmware/
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/LICENSE $(1)/lib/firmware/xcpe_574306_571801.LICENSE
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/xcpe_574306_571801.bin $(1)/lib/firmware/
+ ln -s xcpe_574306_571801.bin $(1)/lib/firmware/vdsl.bin
+ ln -s xcpe_574306_571801.bin $(1)/lib/firmware/adsl-a.bin
+endef
+
+$(eval $(call BuildPackage,dsl-vrx200-firmware-xdsl-a))