ltq-atm/ltq-ptm: avoid unnecessary build dependencies
authorJan Hoffmann <jan@3e8.eu>
Mon, 25 Apr 2022 19:43:50 +0000 (21:43 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 7 Jun 2022 19:36:58 +0000 (21:36 +0200)
commitea0744fbc699e030b2917f5fa2493068cab2b60f
tree9b69cea1075e073346bfba8b38b7dbb4838be291
parent290c13b7d70b0b396509bf20787ab75ccb057cb7
ltq-atm/ltq-ptm: avoid unnecessary build dependencies

Right now, both ltq-adsl-mei and ltq-vdsl-mei are always built, even
when they aren't necessary for the selected variant. This can cause the
build to fail, for example ltq-vdsl-mei doesn't build successfully here
on xway target due to the vectoring callback.

Make these dependencies conditional on the specific package variants,
so they are only built when actually needed.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
(cherry picked from commit 2f484aeff5fe5ba3a832f98ca409adde3257e832)
package/kernel/lantiq/ltq-atm/Makefile
package/kernel/lantiq/ltq-ptm/Makefile