summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-25 22:45:19 +0100
committerKacper Fiedorowicz <kf@efab.pl>2025-12-25 23:09:24 +0100
commit21d28f71b20c1d58e7abb039f12d2c61aadd3f0f (patch)
tree17d368252543872600c8eefb6f0b5410f7edced2 /boot
parente691a7ff9a4cc0581e9e7f504125c9ecba176221 (diff)
Added more kconfig options
Diffstat (limited to 'boot')
-rw-r--r--boot/Kbuild2
-rw-r--r--boot/Kconfig8
2 files changed, 9 insertions, 1 deletions
diff --git a/boot/Kbuild b/boot/Kbuild
index 01daa04b..cb673478 100644
--- a/boot/Kbuild
+++ b/boot/Kbuild
@@ -1 +1 @@
-obj-y += init/
+obj-$(CONFIG_BOOT_INIT) += init/
diff --git a/boot/Kconfig b/boot/Kconfig
new file mode 100644
index 00000000..ae77f1cb
--- /dev/null
+++ b/boot/Kconfig
@@ -0,0 +1,8 @@
+menu "Boot"
+
+config BOOT_INIT
+ bool "init"
+ default n
+ depends on LIB_LIBC
+
+endmenu