From a84c4e18ed47d015d2abbaa2a4411a64a0ade18f Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 18 Sep 2025 15:31:56 -0400 Subject: build: Allow each subsystem to have their own conf Signed-off-by: Ian Moffett --- src/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Makefile') 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 -- cgit v1.2.3