summaryrefslogtreecommitdiff
path: root/arch/i386/make.config
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.xyz>2021-03-09 12:59:45 -0600
committerDanny Holman <dholman@gymli.xyz>2021-03-09 12:59:45 -0600
commitd7dca087ba8a9377b7b42d2b23e4cd0bc950b4c1 (patch)
tree296b095c3290b4a1e93915dd9cedcfa581db548b /arch/i386/make.config
parentREADME: add project README file (diff)
downloadbox-d7dca087ba8a9377b7b42d2b23e4cd0bc950b4c1.tar.gz
box-d7dca087ba8a9377b7b42d2b23e4cd0bc950b4c1.tar.zst
box-d7dca087ba8a9377b7b42d2b23e4cd0bc950b4c1.zip
Makefile: fix wrong -I directive to compiler
Fix a bug in which the architecture specific include directories are not properly included in the main Makefile. Signed-off-by: Danny Holman <dholman@gymli.xyz>
Diffstat (limited to '')
-rw-r--r--arch/i386/make.config4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/make.config b/arch/i386/make.config
index 3add948..1f09aea 100644
--- a/arch/i386/make.config
+++ b/arch/i386/make.config
@@ -1,7 +1,7 @@
-KERNEL_ARCH_CFLAGS=
+KERNEL_ARCH_INCLUDE=$(ARCHDIR)/include
+KERNEL_ARCH_CFLAGS=-I$(KERNEL_ARCH_INCLUDE)
KERNEL_ARCH_LDFLAGS=
KERNEL_ARCH_LIBS=
-KERNEL_ARCH_INCLUDE=$(ARCHDIR)/include
KERNEL_ARCH_OBJS=$(ARCHDIR)/boot/boot.o \
$(ARCHDIR)/boot/tty.o \