diff options
author | Joursoir <chat@joursoir.net> | 2022-09-28 20:19:00 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2022-10-04 03:14:04 +0300 |
commit | 387c11b9c8baff0e6f1617d80b95a9bbffcdfdf5 (patch) | |
tree | 0615532738172ac47a4969abe56be1668b96e1b4 /Makefile | |
parent | f4deaf87d42fdfd696daa87c4bae7b2727dabbad (diff) | |
download | mfsos-387c11b9c8baff0e6f1617d80b95a9bbffcdfdf5.tar.gz mfsos-387c11b9c8baff0e6f1617d80b95a9bbffcdfdf5.tar.bz2 mfsos-387c11b9c8baff0e6f1617d80b95a9bbffcdfdf5.zip |
makefile: export the include path for architecture
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |