openwrt/package/kernel/lantiq
Mathias Kresin c0815b13b7 ltq-vdsl-app: fix -Wundef warnings
The following warnings are shown during build:

/usr/include/vdsl/cmv_message_format.h:33:6: warning: "MEI_SUPPORT_DEBUG_STREAMS" is not defined, evaluates to 0 [-Wundef]
 #if (MEI_SUPPORT_DEBUG_STREAMS == 1)
      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/vdsl/drv_mei_cpe_interface.h:2256:6: warning: "MEI_SUPPORT_OPTIMIZED_FW_DL" is not defined, evaluates to 0 [-Wundef]
 #if (MEI_SUPPORT_OPTIMIZED_FW_DL == 1)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~

The headers are provided by the MEI driver, but the defines are never
set by the vdsl app. While the struct with the
MEI_SUPPORT_OPTIMIZED_FW_DL conditional isn't used by the vdsl app,
however CMV_USED_PAYLOAD_8BIT_SIZE which value depends on
MEI_SUPPORT_DEBUG_STREAMS is.

Since the MEI driver doesn't provide an autogenerated header with
compile flags, the flags are hardcoded for the vdsl app.

Set them for the MEI driver as well, to indicate a relation to the
values used for the vdsl app and to be not surprised by a changed
default in case the MEI driver gets updated. Use the current default
values defined in the MEI driver.

Signed-off-by: Mathias Kresin <dev@kresin.me>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:43 +00:00
..
ltq-adsl kernel: lantiq: fix Module.symvers handling 2021-09-01 08:07:37 +00:00
ltq-adsl-fw ltq-adsl(-fw): Makefile clean-up and fixes 2020-04-24 17:59:22 +02:00
ltq-adsl-mei kernel: drop outdated kernel version switches for local code 2020-05-17 18:35:51 +02:00
ltq-atm kernel: lantiq: fix Module.symvers handling 2021-09-01 08:07:37 +00:00
ltq-deu kernel: drop outdated kernel version switches for local code 2020-05-17 18:35:51 +02:00
ltq-ifxos kernel: lantiq: fix Module.symvers handling 2021-09-01 08:07:37 +00:00
ltq-ptm kernel: lantiq: fix Module.symvers handling 2021-09-01 08:07:37 +00:00
ltq-tapi kernel: lantiq: fix Module.symvers handling 2021-09-01 08:07:37 +00:00
ltq-vdsl kernel: lantiq: fix Module.symvers handling 2021-09-01 08:07:37 +00:00
ltq-vdsl-fw ltq-vdsl-fw: replace backticks by $(...) 2020-05-13 19:01:23 +02:00
ltq-vdsl-mei ltq-vdsl-app: fix -Wundef warnings 2021-09-01 08:07:43 +00:00
ltq-vmmc kernel: lantiq: fix Module.symvers handling 2021-09-01 08:07:37 +00:00