Skip to content

Kconfig: deprecate #3706

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Kconfig is deprecated since Lima v1.2, and will be removed in Lima v2.0.
# Use Makefile variables instead.

mainmenu "Lima"

Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,11 @@ native: clean limactl helpers native-guestagent templates template_experimentals
################################################################################
# Kconfig
config: Kconfig
$(warning Kconfig is deprecated since Lima v1.2 and will be removed in Lima v2.0.)
$(KCONFIG_CONF) $<

menuconfig: Kconfig
$(warning Kconfig is deprecated since Lima v1.2 and will be removed in Lima v2.0.)
MENUCONFIG_STYLE=aquatic \
$(KCONFIG_MCONF) $<

Expand Down
26 changes: 0 additions & 26 deletions website/content/en/docs/installation/source.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,29 +51,3 @@ tar czf lima-additional-guestagents-package.tar.gz *
```

These packages can then be transferred and installed on the target system.

## Advanced Configuration with Kconfig Tools
(This step is not needed for most users)

To change the build configuration such as the guest architectures, run:

```bash
make config # For text-based configuration
make menuconfig # For a menu-based configuration
```

This requires Kconfig tools to be installed. It is also possible to manually edit `.config`. The default configuration can be found in `config.mk` (which follows make syntax).

The tools are available as either `kconfig-frontends` or `kbuild-standalone`. There are two interfaces:
- `conf` for text-based configuration.
- `mconf` for a menu-driven interface.

A Python implementation is available at [Kconfiglib](https://pypi.org/project/kconfiglib). It can be installed with:

```bash
pip install --user kconfiglib
```

This also includes support for `guiconfig` (GUI-based configuration).


Loading