diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2017-11-04 12:19:14 +0100 |
---|---|---|
committer | Jonas Gorski <jonas.gorski@gmail.com> | 2017-11-07 22:58:58 +0100 |
commit | a9a78a70cc0d4888bbf401533c980c152e0adcec (patch) | |
tree | aa9c4cf1efb8328a87daad0b0513abf1a801a646 /package/kernel/lantiq/ltq-adsl-mei/src/Makefile | |
parent | ee59f8126fc3e75ee54151f21ddc4c4d829d4cd2 (diff) | |
download | upstream-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/src/Makefile')
-rw-r--r-- | package/kernel/lantiq/ltq-adsl-mei/src/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/package/kernel/lantiq/ltq-adsl-mei/src/Makefile b/package/kernel/lantiq/ltq-adsl-mei/src/Makefile index 2d8645f8f2..9a3b89195c 100644 --- a/package/kernel/lantiq/ltq-adsl-mei/src/Makefile +++ b/package/kernel/lantiq/ltq-adsl-mei/src/Makefile @@ -1,17 +1,13 @@ ifeq ($(BUILD_VARIANT),danube) CFLAGS_MODULE = -DCONFIG_DANUBE -DCONFIG_IFXMIPS_DSL_CPE_MEI - obj-m = ltq_mei_danube.o - ltq_mei_danube-objs = lantiq_mei.o endif ifeq ($(BUILD_VARIANT),ase) CFLAGS_MODULE = -DCONFIG_AMAZON_SE -DCONFIG_IFXMIPS_DSL_CPE_MEI - obj-m = ltq_mei_ase.o - ltq_mei_ase-objs = lantiq_mei.o endif ifeq ($(BUILD_VARIANT),ar9) CFLAGS_MODULE = -DCONFIG_AR9 -DCONFIG_IFXMIPS_DSL_CPE_MEI - obj-m = ltq_mei_ar9.o - ltq_mei_ar9-objs = lantiq_mei.o endif + +obj-m = drv_mei_cpe.o |