diff options
author | Ian Moffett <ian@osmora.org> | 2025-09-18 15:31:56 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-09-18 15:31:56 -0400 |
commit | a84c4e18ed47d015d2abbaa2a4411a64a0ade18f (patch) | |
tree | d9e0f792c817465ef72a7e2627f911fa8a925ac1 /src/Makefile | |
parent | e633b7ef95c91ded3e849af0e622a4a98470ef0d (diff) |
build: Allow each subsystem to have their own conf
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index 270c65f..557bd73 100644 --- a/src/Makefile +++ b/src/Makefile @@ -11,7 +11,6 @@ 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) \ @@ -22,7 +21,7 @@ all: root user sys lib image .PHONY: sys sys: - cd sys/; make CC=$(CC) AS=$(AS) LD=$(LD) TARGET=$(TARGET) CONF=$(CONF) + cd sys/; make CC=$(CC) AS=$(AS) LD=$(LD) TARGET=$(TARGET) TOOLS=$(shell pwd)/tools cp $(KBIN) root/boot/ .PHONY: user |