summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-04-07 23:41:14 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:37 +0200
commit81a6362099fddd939434b314b66af1353b51fec5 (patch)
tree5883039e40a92e034c66f07d775669ad572b78d9 /i386
parent3fbe209ddf160e77aa8d4f1cb769c8780510b417 (diff)
2006-04-08 Thomas Schwinge <tschwinge@gnu.org>
* i386/Makefile.in (INCLUDES): Don't add `$(srcdir)/bogus'. * i386/Makerules.in (INCLUDES): Add `$(abs_top_srcdir)/$(systype)/bogus'. Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
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