summaryrefslogtreecommitdiff
path: root/na/scripts/Kconfig.mk
diff options
context:
space:
mode:
Diffstat (limited to 'na/scripts/Kconfig.mk')
-rw-r--r--na/scripts/Kconfig.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/na/scripts/Kconfig.mk b/na/scripts/Kconfig.mk
index c979e76..2bdc934 100644
--- a/na/scripts/Kconfig.mk
+++ b/na/scripts/Kconfig.mk
@@ -60,6 +60,18 @@ CONFIG_DEBUG_LOCKS ?= y
CONFIG_SELFTEST ?= y
CONFIG_KLOG ?= y
+# --- Initramfs ------------------------------------------------------
+# Source for the initramfs image. Accepted forms (auto-detected by
+# scripts/gen_initramfs.sh):
+# - a listing file (gen_init_cpio format) โ†’ built into a cpio
+# - a directory โ†’ packed recursively
+# - a *.cpio file โ†’ used as-is
+# Override on the command line or pin in .config:
+# make all CONFIG_INITRAMFS_SOURCE=/path/to/rootfs
+CONFIG_INITRAMFS_SOURCE ?= usr/default_cpio_list
+CONFIG_INITRAMFS_ROOT_UID ?= 0
+CONFIG_INITRAMFS_ROOT_GID ?= 0
+
# ------------------------------------------------------------------
# ยง3 Derived constants (computed from CONFIG_ symbols)
#