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>master
parent
ee59f8126f
commit
a9a78a70cc
@ -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
|
||||
|
Loading…
Reference in new issue