summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 570e4a8..014a6e0 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ KERNBIN = kernel.bin
BOOT ?= bootloader
ARCH = x86
+ARCH_INCLUDE = $(PWD)/arch/$(ARCH)/include
ARCH_BOOT = arch/$(ARCH)/boot/$(BOOT)
BOOTBIN = $(ARCH_BOOT)/bootloader.bin
@@ -28,6 +29,7 @@ C_SOURCES = \
OBJECTS = ${C_SOURCES:.c=.o}
export CC LD AS OBJDUMP
+export ARCH_INCLUDE
.PHONY: all qemu objdump-boot objdump-kernel clean