OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | # Copyright (C) 2012 OpenWrt.org |
2 | # Copyright (C) 2015-2016 Lantiq Beteiligungs GmbH & Co KG. |
||
3 | # |
||
4 | # This is free software, licensed under the GNU General Public License v2. |
||
5 | # See /LICENSE for more information. |
||
6 | |||
7 | include $(TOPDIR)/rules.mk |
||
8 | include $(INCLUDE_DIR)/kernel.mk |
||
9 | |||
10 | PKG_NAME:=ltq-vdsl-vr9 |
||
11 | PKG_VERSION:=4.17.18.6 |
||
12 | PKG_RELEASE:=3 |
||
13 | |||
14 | PKG_BASE_NAME:=drv_dsl_cpe_api |
||
15 | PKG_SOURCE:=$(PKG_BASE_NAME)_vrx-$(PKG_VERSION).tar.gz |
||
16 | PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_BASE_NAME)-$(PKG_VERSION) |
||
17 | PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources |
||
18 | PKG_HASH:=b4966a60653acc49254b168c6cc9c49eb36c54548e763617788aa4f252a29f21 |
||
19 | PKG_LICENSE:=GPL-2.0 BSD-2-Clause |
||
20 | PKG_LICENSE_FILES:=LICENSE |
||
21 | |||
22 | PKG_ASLR_PIE:=0 |
||
23 | PKG_FIXUP:=autoreconf |
||
24 | |||
25 | PKG_MAINTAINER:=John Crispin <john@phrozen.org> |
||
26 | |||
27 | include $(INCLUDE_DIR)/package.mk |
||
28 | |||
29 | define KernelPackage/ltq-vdsl-vr9 |
||
30 | TITLE:=vdsl driver |
||
31 | SECTION:=sys |
||
32 | SUBMENU:=Network Devices |
||
33 | DEPENDS:=@TARGET_lantiq_xrx200 +kmod-ltq-vdsl-vr9-mei |
||
34 | FILES:=$(PKG_BUILD_DIR)/src/drv_dsl_cpe_api.ko |
||
35 | AUTOLOAD:=$(call AutoLoad,51,drv_dsl_cpe_api) |
||
36 | endef |
||
37 | |||
38 | define Package/ltq-vdsl-vr9/description |
||
39 | This package contains the Lantiq DSL CPE API driver. |
||
40 | |||
41 | Supported Devices: |
||
42 | - VRX200 Family |
||
43 | endef |
||
44 | |||
45 | MAKE_FLAGS += \ |
||
46 | SHELL="$(BASH)" |
||
47 | |||
48 | CONFIGURE_ARGS += --enable-kernel-include="$(LINUX_DIR)/include" \ |
||
49 | --with-max-device="1" \ |
||
50 | --with-lines-per-device="1" \ |
||
51 | --with-channels-per-line="1" \ |
||
52 | --enable-vrx \ |
||
53 | --enable-vrx-device=vr9 \ |
||
54 | --enable-ifxos \ |
||
55 | --enable-ifxos-include="-I$(STAGING_DIR)/usr/include/ifxos" \ |
||
56 | --enable-driver-include="-I$(STAGING_DIR)/usr/include/vdsl" \ |
||
57 | --enable-add-drv-cflags="-DMODULE -DINCLUDE_DSL_ATM_PTM_INTERFACE_SUPPORT" \ |
||
58 | --enable-adsl-led=no \ |
||
59 | --enable-adsl-mib=no \ |
||
60 | --enable-dsl-ceoc=no \ |
||
61 | --enable-linux-26 \ |
||
62 | --enable-kernelbuild="$(LINUX_DIR)" \ |
||
63 | --enable-debug-prints=no \ |
||
64 | ARCH=mips |
||
65 | |||
66 | CONFIGURE_ARGS += --enable-model=full |
||
67 | #CONFIGURE_ARGS += --enable-model=lite |
||
68 | #CONFIGURE_ARGS += --enable-model=footprint |
||
69 | #CONFIGURE_ARGS += --enable-model=typical |
||
70 | #CONFIGURE_ARGS += --enable-model=debug |
||
71 | |||
72 | define Build/InstallDev |
||
73 | $(INSTALL_DIR) $(1)/usr/include/drv_vdsl_cpe_api |
||
74 | $(CP) $(PKG_BUILD_DIR)/src/include/drv_dsl_cpe*.h $(1)/usr/include/drv_vdsl_cpe_api/ |
||
75 | endef |
||
76 | |||
77 | $(eval $(call KernelPackage,ltq-vdsl-vr9)) |