summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2022-09-28 20:19:00 +0300
committerJoursoir <chat@joursoir.net>2022-10-04 03:14:04 +0300
commit387c11b9c8baff0e6f1617d80b95a9bbffcdfdf5 (patch)
tree0615532738172ac47a4969abe56be1668b96e1b4
parentf4deaf87d42fdfd696daa87c4bae7b2727dabbad (diff)
downloadmfsos-387c11b9c8baff0e6f1617d80b95a9bbffcdfdf5.tar.gz
mfsos-387c11b9c8baff0e6f1617d80b95a9bbffcdfdf5.tar.bz2
mfsos-387c11b9c8baff0e6f1617d80b95a9bbffcdfdf5.zip
makefile: export the include path for architecture
-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