KCONF(1) Hyra General Commands Manual KCONF(1)
NAME
kconf - kernel configuration
SYNOPSIS
cat CONFIG_FILE | kconf
DESCRIPTION
During the kernel build process, kconf parses a config file and generates define flags that can be passed to the compiler.
Example config file:
--
// Example of
options that can be enabled
// and disabled.
option FOO yes
option BLAH no
// Example of
constants that can be set
// within the kernel.
setval SOME_INT 32
setval SOME_STR "foo"
--
The above example will output the following:
-D__FOO=1 -D__BLAH=0 -D__SOME_INT=32 -D__SOME_STR="foo"
The option keyword allows options to be toggled on or off (yes, no).
The setval keyword sets a global constant within the kernel.
AUTHORS
Ian Moffett <ian@osmora.org>
Hyra May 17 2024 Hyra