diff options
author | John Crispin <blogic@openwrt.org> | 2015-11-24 20:40:40 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-11-24 20:40:40 +0000 |
commit | 5ec0571e353f819dd5acc5a8f7aded42a72ef07a (patch) | |
tree | ccd7f1791f24253a33c915946e053eba4e6c094a /package/kernel/lantiq | |
parent | 51d66e746687bab391daab8ba83169eb312935c0 (diff) | |
download | master-187ad058-5ec0571e353f819dd5acc5a8f7aded42a72ef07a.tar.gz master-187ad058-5ec0571e353f819dd5acc5a8f7aded42a72ef07a.tar.bz2 master-187ad058-5ec0571e353f819dd5acc5a8f7aded42a72ef07a.zip |
lantiq: ltq-vdsl-mei: add mei_cpe_drv_test application
This application helps to debug some internal problems in the MEI driver.
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47632 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/lantiq')
-rw-r--r-- | package/kernel/lantiq/ltq-vdsl-mei/Makefile | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/package/kernel/lantiq/ltq-vdsl-mei/Makefile b/package/kernel/lantiq/ltq-vdsl-mei/Makefile index 0f9f48d573..3a2d572aa7 100644 --- a/package/kernel/lantiq/ltq-vdsl-mei/Makefile +++ b/package/kernel/lantiq/ltq-vdsl-mei/Makefile @@ -35,6 +35,21 @@ define KernelPackage/ltq-vdsl-vr9-mei/description Lantiq MEI CPE Kernel Module Driver endef + +define Package/ltq-vdsl-mei_test + SECTION:=net + CATEGORY:=Network + TITLE:=Lantiq mei driver test tool + URL:=http://www.lantiq.com/ + DEPENDS:=@TARGET_lantiq_xrx200 +endef + +define Package/ltq-vdsl-mei_test/description + Userland tool to directly control the mei driver, this is only needed + for test and development purposes. +endef + + #DEBUG=-DDEBUG_PRINT=1 MAKE_FLAGS += \ @@ -52,7 +67,7 @@ CONFIGURE_ARGS += \ --enable-add_drv_cflags="$(DEBUG) -DMEI_DRV_ATM_PTM_INTERFACE_ENABLE=1 -DMEI_EXPORT_INTERNAL_API=1 -DMEI_SUPPORT_DSM=0 -fno-pic -mno-abicalls -mlong-calls -O2 -g0" \ --enable-linux-26 \ --enable-kernelbuild="$(LINUX_DIR)" \ - --enable-drv_test_appl=0 \ + --enable-drv_test_appl=yes \ ARCH=$(LINUX_KARCH) define Build/InstallDev @@ -65,3 +80,10 @@ define Build/InstallDev endef $(eval $(call KernelPackage,ltq-vdsl-vr9-mei)) + +define Package/ltq-vdsl-mei_test/install + $(INSTALL_DIR) $(1)/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mei_cpe_drv_test $(1)/bin +endef + +$(eval $(call BuildPackage,ltq-vdsl-mei_test)) |