From 387c11b9c8baff0e6f1617d80b95a9bbffcdfdf5 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Wed, 28 Sep 2022 20:19:00 +0300 Subject: makefile: export the include path for architecture --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3-18-g5258