summaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
parent9e9c555ead1d7dbc509f5538a7bd2747ca6cadfa (diff)
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 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fdf693c..b1847bc 100644
--- a/Makefile
+++ b/Makefile
@@ -13,8 +13,7 @@ ARCHDIR=arch/i386
include $(ARCHDIR)/make.config
-INCLUDE:=$(INCLUDE) $(KERNEL_ARCH_INCLUDE)
-CFLAGS:=$(CFLAGS) $(KERNEL_ARCH_CFLAGS) -I$(INCLUDE)
+CFLAGS:=$(CFLAGS) $(KERNEL_ARCH_CFLAGS)
LDFLAGS:=$(LDFLAGS) $(KERNEL_ARCH_LDFLAGS)
LIBS:=$(LIBS) $(KERNEL_ARCH_LIBS)