summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
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: