Bazel rules for Kconfig:
a Kconfig tree becomes a repository of build settings, config_settings and
a config.h, parsed by the Linux kernel's own Kconfig parser.
bazel_dep(name = "rules_kconfig", version = "...")
kconfig = use_extension("@rules_kconfig//kconfig:extensions.bzl", "kconfig")
kconfig.repo(
name = "my_kconfig",
kconfig = "//:Kconfig",
)
use_repo(kconfig, "my_kconfig")