summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
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