---
name: "kas-menu"
section: "1"
platform: "linux"
package: "kas"
version: "4.8.1-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/kas-menu"
---

# kas-menu(1)

kas menu plugin

## NAME

kas-menu - kas menu plugin

## SYNOPSIS

```
kas menu [-h] [kconfig]
```

## DESCRIPTION

Provides a configuration menu and triggers the build of the choices.

This plugin implements the **kas menu** command.

When this command is executed, kas will open a configuration menu as described by a Kconfig file. It processes any pre-existing configuration file with saved settings, stores the final selections and invokes the build plugin if requested by the user.

To make use of this plugin, a **Kconfig** file has to be provided. The menu can define these types of configuration variables that the plugin will translate into a kas configuration:

- •

  kas configuration files that will be included when building the generated configuration. Those are picked up from Kconfig string variables that have the name prefix **KAS\_INCLUDE\_**.

- •

  bitbake targets that shall be built via the generated configuration. Those are picked up from Kconfig string variables that have the name prefix **KAS\_TARGET\_**.

- •

  The **build\_system** that will used. The static Kconfig string variable **KAS\_BUILD\_SYSTEM** defines this value which must be **openembedded**, **oe** or **isar** is set.

- •

  bitbake configuration variables that will be added to the **local\_conf\_header** section of the generated configuration. All other active Kconfig string, integer or hex variables are treated as such.

See *https://www.kernel.org/doc/html/latest/kbuild/kconfig-language.html* for a complete documentation of the Kconfig language.

The menu plugin writes the selected configuration to a **.config.yaml** file in the kas work directory and also reads previous selection from such a file if it exists. The **.config.yaml** both contains the selected configuration in the **menu\_configuration** key and also the effective settings that can be used to invoke **kas build** or other kas commands.

## OPTIONS

**Positional Arguments**

- **kconfig='Kconfig'**

  Kconfig file

## KAS

Part of the **[kas(1)](/kas/1.md)** suite.

## AUTHOR

Daniel Wagner, Jan Kiszka, Claudius Heine

## COPYRIGHT

Siemens and contributors, 2017-2025
