aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-adsl-mei/Makefile
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2017-11-04 12:19:14 +0100
committerJonas Gorski <jonas.gorski@gmail.com>2017-11-07 22:58:58 +0100
commita9a78a70cc0d4888bbf401533c980c152e0adcec (patch)
treeaa9c4cf1efb8328a87daad0b0513abf1a801a646 /package/kernel/lantiq/ltq-adsl-mei/Makefile
parentee59f8126fc3e75ee54151f21ddc4c4d829d4cd2 (diff)
downloadupstream-a9a78a70cc0d4888bbf401533c980c152e0adcec.tar.gz
upstream-a9a78a70cc0d4888bbf401533c980c152e0adcec.tar.bz2
upstream-a9a78a70cc0d4888bbf401533c980c152e0adcec.zip
ltq-adsl-mei: use the same file name for all variant
Due to limitations in the symvers treatment and the mei drivers exporting the same funtions, modpost might use the wrong mei driver to link against. Work around this by renaming them all to the same name, making it always the "right" module name even if the wrong file was used. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'package/kernel/lantiq/ltq-adsl-mei/Makefile')
-rw-r--r--package/kernel/lantiq/ltq-adsl-mei/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/lantiq/ltq-adsl-mei/Makefile b/package/kernel/lantiq/ltq-adsl-mei/Makefile
index 91c798418d..08e5775771 100644
--- a/package/kernel/lantiq/ltq-adsl-mei/Makefile
+++ b/package/kernel/lantiq/ltq-adsl-mei/Makefile
@@ -23,8 +23,8 @@ define KernelPackage/ltq-adsl-mei-template
URL:=http://www.lantiq.com/
VARIANT:=$(1)
DEPENDS:=@$(2)
- FILES:=$(PKG_BUILD_DIR)/ltq_mei_$(1).ko
- AUTOLOAD:=$(call AutoLoad,50,ltq_mei_$(1))
+ FILES:=$(PKG_BUILD_DIR)/drv_mei_cpe.ko
+ AUTOLOAD:=$(call AutoLoad,50,drv_mei_cpe)
endef
KernelPackage/ltq-adsl-danube-mei=$(call KernelPackage/ltq-adsl-mei-template,danube,(TARGET_lantiq_xway||TARGET_lantiq_xway_legacy))