summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-09-17 01:44:55 -0400
committerIan Moffett <ian@osmora.org>2025-09-17 01:44:55 -0400
commit7f71ee15dfca8cd3e6ba4309ed768015ffbe8644 (patch)
treed147dd9ebfe80c606f16fc35e9cdf4d22b1cd33b /src/Makefile
parentb6983be0368bb39e3a8cbd919235b14504f1d995 (diff)
kern: Make memmap dump configurable via kconf
Use the OSMORA kernel configuration framework to add options for L5Lunos to parse during early startup. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index f33defe..c29402b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -11,6 +11,7 @@ BINUTILS_DIR := $(shell pwd)/cc/toolchain/build-binutils
CC := $(shell pwd)/cc/gcc/bin/x86_64-pc-ethos-gcc
LD := $(BINUTILS_DIR)/bin/x86_64-pc-ethos-ld
AS := $(BINUTILS_DIR)/bin/x86_64-pc-ethos-as
+CONF := $(shell cat sys/conf/GENERIC | tools/kconf/kconf)
# QEMU emulator flags
QEMU_FLAGS = --enable-kvm -serial stdio -cdrom $(ISO) \
@@ -21,7 +22,7 @@ all: root sys image
.PHONY: sys
sys:
- cd sys/; make CC=$(CC) AS=$(AS) LD=$(LD) TARGET=$(TARGET)
+ cd sys/; make CC=$(CC) AS=$(AS) LD=$(LD) TARGET=$(TARGET) CONF=$(CONF)
cp $(KBIN) root/boot/
root: