ltq-atm/ltq-ptm: avoid unnecessary build dependencies
authorJan Hoffmann <jan@3e8.eu>
Mon, 25 Apr 2022 19:43:50 +0000 (21:43 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 4 May 2022 00:38:04 +0000 (01:38 +0100)
commit2f484aeff5fe5ba3a832f98ca409adde3257e832
treeb9011170277ee76fb4da756bc11e43b98eb63d07
parent51c442c265a8661427441193e7dc585b1539a915
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>
package/kernel/lantiq/ltq-atm/Makefile
package/kernel/lantiq/ltq-ptm/Makefile