config BR2_PACKAGE_LIBFOO
bool "libfoo"
help
Useless library that does absolutely nothing
https://git.sr.ht/~tomleb/meson_libfoo
if BR2_PACKAGE_LIBFOO
config BR2_PACKAGE_LIBFOO_XML
bool "libfoo xml"
default y
select BR2_PACKAGE_LIBXML2
help
Add xml feature
config BR2_PACKAGE_LIBFOO_YAML
bool "libfoo yaml"
select BR2_PACKAGE_LIBYAML
help
Add yaml feature
endif # BR2_PACKAGE_LIBFOO