summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
Diffstat (limited to 'i386')
-rw-r--r--i386/Makefile.in5
-rw-r--r--i386/Makerules.in3
2 files changed, 5 insertions, 3 deletions
diff --git a/i386/Makefile.in b/i386/Makefile.in
index 8214560..dd021d9 100644
--- a/i386/Makefile.in
+++ b/i386/Makefile.in
@@ -119,9 +119,8 @@ vpath i386asm.sym $(srcdir)/i386
vpath mach_i386.srv $(srcdir)/i386
# Our include files; they precede the generic ones.
-INCLUDES = -I. -I$(srcdir)/i386at -I$(srcdir)/i386 \
- -I$(srcdir)/include -I$(srcdir)/include/mach/sa \
- -I$(srcdir)/bogus -I$(srcdir)
+INCLUDES = -I. -I$(srcdir)/i386at -I$(srcdir)/i386 -I$(srcdir)/include \
+ -I$(srcdir)/include/mach/sa -I$(srcdir)
# Static dependencies.
diff --git a/i386/Makerules.in b/i386/Makerules.in
index f6c90da..ef04948 100644
--- a/i386/Makerules.in
+++ b/i386/Makerules.in
@@ -30,6 +30,9 @@ include $(abs_top_builddir)/$(systype)/linux/Makerules
# Some of the i386-specific code checks for these.
DEFINES += -DCONTINUATIONS -D__ELF__ -Di386 $(DEFS-$(systype))
+# The system specific ones always override the generic ones.
+INCLUDES += -I$(abs_top_srcdir)/$(systype)/bogus
+
# Arrange for a suitable load address.
LDFLAGS-kernel += -Ttext 100000