Skip to content

Commit 3bd12e6

Browse files
authored
Merge pull request #3706 from AkihiroSuda/deprecate-kconfig
Kconfig: deprecate
2 parents f937dfd + 644a8a9 commit 3bd12e6

File tree

3 files changed

+4
-26
lines changed

3 files changed

+4
-26
lines changed

Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Kconfig is deprecated since Lima v1.2, and will be removed in Lima v2.0.
2+
# Use Makefile variables instead.
13

24
mainmenu "Lima"
35

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,11 @@ native: clean limactl helpers native-guestagent templates template_experimentals
145145
################################################################################
146146
# Kconfig
147147
config: Kconfig
148+
$(warning Kconfig is deprecated since Lima v1.2 and will be removed in Lima v2.0.)
148149
$(KCONFIG_CONF) $<
149150

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

website/content/en/docs/installation/source.md

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -51,29 +51,3 @@ tar czf lima-additional-guestagents-package.tar.gz *
5151
```
5252

5353
These packages can then be transferred and installed on the target system.
54-
55-
## Advanced Configuration with Kconfig Tools
56-
(This step is not needed for most users)
57-
58-
To change the build configuration such as the guest architectures, run:
59-
60-
```bash
61-
make config # For text-based configuration
62-
make menuconfig # For a menu-based configuration
63-
```
64-
65-
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).
66-
67-
The tools are available as either `kconfig-frontends` or `kbuild-standalone`. There are two interfaces:
68-
- `conf` for text-based configuration.
69-
- `mconf` for a menu-driven interface.
70-
71-
A Python implementation is available at [Kconfiglib](https://pypi.org/project/kconfiglib). It can be installed with:
72-
73-
```bash
74-
pip install --user kconfiglib
75-
```
76-
77-
This also includes support for `guiconfig` (GUI-based configuration).
78-
79-

0 commit comments

Comments
 (0)