annotations: Check validity of FLAVOUR_DEP
authorAndrea Righi <andrea.righi@canonical.com>
Wed, 8 Feb 2023 07:53:48 +0000 (08:53 +0100)
committerAndrea Righi <andrea.righi@canonical.com>
Wed, 8 Feb 2023 07:53:48 +0000 (08:53 +0100)
commit057e2cdf5f5b06a4eb5efd101bc5149c1c6838fd
treed41310c9831e08675bd9b2fa6fb3a76bafc7c9db
parentb215067fb88705f6d13a288a3f00cd2c44cb80c1
annotations: Check validity of FLAVOUR_DEP

FLAVOUR_DEP is used to map flavors from the main annotations file to
flavors from includes. Currently, there is no check that any of the
listed flavors exists or is valid so the resulting behavior is
(probably) undefined/unexpected. Add a sanity check to verify the
FLAVOUR_DEP flavors.

Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
kconfig/annotations.py