summaryrefslogtreecommitdiff
path: root/src/sys/os/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/os/Makefile')
-rw-r--r--src/sys/os/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sys/os/Makefile b/src/sys/os/Makefile
index 693c008..ed8ac6e 100644
--- a/src/sys/os/Makefile
+++ b/src/sys/os/Makefile
@@ -3,6 +3,7 @@ include ../conf/sys.mk
.SILENT:
override PROMPT := printf "%s\t\t%s\n"
+CONF := $(shell cat ../conf/GENERIC | $(TOOLS)/kconf/kconf)
TARGET_LIB = ../target/libkern.a
CFLAGS = -I../include/ -I../include/lib/ -I../target/header/ $(MI_CFLAGS) -O0 $(CONF)
CFILES = $(shell find . -name "*.c")
@@ -22,7 +23,7 @@ all: $(OBJECTS)
-include $(DEPS)
%.o: %.c
$(PROMPT) " MI.CC " $<
- $(CC) -c $(CFLAGS) $< -o $@
+ $(CC) -c $(CFLAGS) $(CONF) $< -o $@
.PHONY: clean
clean: