1 include $(TOPDIR
)/rules.mk
3 PKG_NAME
:=ltq-vectoring
4 PKG_RELEASE
:=$(AUTORELEASE
)
6 PKG_SOURCE_URL
:=https
://gitlab.com
/prpl-foundation
/intel
/ppa_drv.git
7 PKG_SOURCE_DATE
:=2019-05-20
8 PKG_SOURCE_VERSION
:=4fa7ac30fcc8ec4eddae9debba5f4230981f469f
9 PKG_MIRROR_HASH
:=444eb823dd9ddd25453976bf7a3230955e4148b8bf92f35f165ecffee32c4555
10 PKG_LICENSE
:=GPL-2.0 BSD-2-Clause
12 MAKE_PATH
:=src
/vectoring
13 PKG_EXTMOD_SUBDIRS
:=$(MAKE_PATH
)
15 include $(INCLUDE_DIR
)/kernel.mk
16 include $(INCLUDE_DIR
)/package.mk
18 define KernelPackage
/ltq-vectoring
20 CATEGORY
:=Kernel modules
21 SUBMENU
:=Network Devices
22 TITLE
:=driver for sending vectoring error samples
23 DEPENDS
:=@TARGET_lantiq_xrx200
24 FILES
:=$(PKG_BUILD_DIR
)/$(MAKE_PATH
)/ltq_vectoring.ko
25 AUTOLOAD
:=$(call AutoLoad
,49,ltq_vectoring
)
28 define Package
/ltq-vectoring
/description
29 This driver is responsible for sending error reports to the vectoring
30 control entity
, which is required for downstream vectoring to work.
32 The error reports are generated by the DSL firmware
, and passed to this
33 driver by the MEI driver.
36 define KernelPackage
/ltq-vectoring-test
38 CATEGORY
:=Kernel modules
39 SUBMENU
:=Network Devices
40 TITLE
:=driver for testing the vectoring driver
41 DEPENDS
:=@TARGET_lantiq_xrx200
+kmod-ltq-vectoring
42 FILES
:=$(PKG_BUILD_DIR
)/$(MAKE_PATH
)/ltq_vectoring_test.ko
45 define Package
/ltq-vectoring-test
/description
46 This allows to send dummy data to the vectoring error block callback.
47 This is only needed for
test and development purposes.
50 define Build
/Configure
54 +$(KERNEL_MAKE
) $(PKG_JOBS
) \
55 M
="$(PKG_BUILD_DIR)/$(MAKE_PATH)" \
59 $(eval
$(call KernelPackage
,ltq-vectoring
))
60 $(eval
$(call KernelPackage
,ltq-vectoring-test
))