mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-05 10:39:23 +00:00
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>
14 lines
319 B
Makefile
14 lines
319 B
Makefile
ifeq ($(BUILD_VARIANT),danube)
|
|
CFLAGS_MODULE = -DCONFIG_DANUBE -DCONFIG_IFXMIPS_DSL_CPE_MEI
|
|
endif
|
|
|
|
ifeq ($(BUILD_VARIANT),ase)
|
|
CFLAGS_MODULE = -DCONFIG_AMAZON_SE -DCONFIG_IFXMIPS_DSL_CPE_MEI
|
|
endif
|
|
|
|
ifeq ($(BUILD_VARIANT),ar9)
|
|
CFLAGS_MODULE = -DCONFIG_AR9 -DCONFIG_IFXMIPS_DSL_CPE_MEI
|
|
endif
|
|
|
|
obj-m = drv_mei_cpe.o
|