]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - init/Kconfig
kbuild: add support for ensuring headers are self-contained
[mirror_ubuntu-eoan-kernel.git] / init / Kconfig
index 36894c9fb4202dc29cf51c9ed2445880dbb88527..df5bba27e3fe35f5f8117cd392289c2669d3b222 100644 (file)
@@ -96,6 +96,15 @@ config COMPILE_TEST
          here. If you are a user/distributor, say N here to exclude useless
          drivers to be distributed.
 
+config HEADER_TEST
+       bool "Compile test headers that should be standalone compilable"
+       help
+         Compile test headers listed in header-test-y target to ensure they are
+         self-contained, i.e. compilable as standalone units.
+
+         If you are a developer or tester and want to ensure the requested
+         headers are self-contained, say Y here. Otherwise, choose N.
+
 config LOCALVERSION
        string "Local version - append to kernel release"
        help
@@ -580,15 +589,14 @@ config IKCONFIG_PROC
          This option enables access to the kernel configuration file
          through /proc/config.gz.
 
-config IKHEADERS_PROC
-       tristate "Enable kernel header artifacts through /proc/kheaders.tar.xz"
-       depends on PROC_FS
+config IKHEADERS
+       tristate "Enable kernel headers through /sys/kernel/kheaders.tar.xz"
+       depends on SYSFS
        help
-         This option enables access to the kernel header and other artifacts that
-         are generated during the build process. These can be used to build eBPF
-         tracing programs, or similar programs.  If you build the headers as a
-         module, a module called kheaders.ko is built which can be loaded on-demand
-         to get access to the headers.
+         This option enables access to the in-kernel headers that are generated during
+         the build process. These can be used to build eBPF tracing programs,
+         or similar programs.  If you build the headers as a module, a module called
+         kheaders.ko is built which can be loaded on-demand to get access to headers.
 
 config LOG_BUF_SHIFT
        int "Kernel log buffer size (16 => 64KB, 17 => 128KB)"