summaryrefslogtreecommitdiff
path: root/src/sys/arch
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-09-18 15:31:56 -0400
committerIan Moffett <ian@osmora.org>2025-09-18 15:31:56 -0400
commita84c4e18ed47d015d2abbaa2a4411a64a0ade18f (patch)
treed9e0f792c817465ef72a7e2627f911fa8a925ac1 /src/sys/arch
parente633b7ef95c91ded3e849af0e622a4a98470ef0d (diff)
build: Allow each subsystem to have their own conf
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/arch')
-rw-r--r--src/sys/arch/amd64/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sys/arch/amd64/Makefile b/src/sys/arch/amd64/Makefile
index 1eae962..a8561c5 100644
--- a/src/sys/arch/amd64/Makefile
+++ b/src/sys/arch/amd64/Makefile
@@ -2,9 +2,10 @@ include ../../conf/sys.mk
override PROMPT := printf "%s\t\t%s\n"
+CONF := $(shell cat conf/GENERIC | $(TOOLS)/kconf/kconf)
TARGET_BIN = ../../l5
TARGET_INC = -I../../target/header/
-CFLAGS = -I../../include/ -I../../include/lib/ $(TARGET_INC) $(MI_CFLAGS) $(MD_CFLAGS) $(CONF)
+CFLAGS = -I../../include/ -I../../include/lib/ $(TARGET_INC) $(MI_CFLAGS) $(MD_CFLAGS)
CFILES = $(shell find . -name "*.c")
ASMFILES = $(shell find . -name "*.S")