ltq-vdsl-fw: add meaningful version information
[openwrt/openwrt.git] / package / kernel / lantiq / ltq-vdsl-fw / Makefile
1 # Copyright (C) 2012 OpenWrt.org
2 #
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
5
6 include $(TOPDIR)/rules.mk
7
8 PKG_NAME:=ltq-vdsl-fw
9 PKG_VERSION:=6.8.6
10 PKG_RELEASE:=1
11
12 PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
13
14 PKG_FLAGS:=nonshared
15
16 include $(INCLUDE_DIR)/package.mk
17
18 define Package/ltq-vdsl-vr9-vectoring-fw-installer
19 TITLE:=VDSL2 Vectoring Firmware installer
20 SECTION:=net
21 CATEGORY:=Network
22 DEPENDS:=@TARGET_lantiq_xrx200 +kmod-ltq-vdsl-vr9
23 endef
24
25 define Build/Prepare
26 $(INSTALL_DIR) $(PKG_BUILD_DIR)
27 $(CP) ./src/* $(PKG_BUILD_DIR)
28 endef
29
30 define Build/Compile
31 $(TARGET_CONFIGURE_OPTS) \
32 CFLAGS="$(TARGET_CFLAGS)" \
33 LDFLAGS="$(TARGET_LDFLAGS)" \
34 $(MAKE) -C $(PKG_BUILD_DIR)
35 endef
36
37 define Package/ltq-vdsl-vr9-fw-installer/install
38 $(INSTALL_DIR) $(1)/sbin
39 $(CP) $(PKG_BUILD_DIR)/w921v_fw_cutter $(PKG_BUILD_DIR)/vdsl_fw_install.sh $(1)/sbin/
40 endef
41
42 $(eval $(call BuildPackage,ltq-vdsl-vr9-vectoring-fw-installer))