summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-12-01 18:15:41 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-12-01 18:15:41 +0000
commit367fc3ca45c48bc977ba7575008cb8776cc347b5 (patch)
tree7f29c802d7de7e6ea0169bb42969ded38b35415e /arch
parentb2e9037d31163560b17c6932e39cff025d793725 (diff)
Move <sgidefs.h> to <asm/gcc/sgidefs.h>.
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/Makefile2
-rw-r--r--arch/mips64/Makefile1
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index ca802dba9..e789ac01e 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -90,7 +90,7 @@ endif
#
GCCFLAGS += -pipe
-CFLAGS += $(GCCFLAGS)
+CFLAGS := -I $(TOPDIR)/include/asm/gcc $(CFLAGS) $(GCCFLAGS)
AFLAGS += $(GCCFLAGS)
#
diff --git a/arch/mips64/Makefile b/arch/mips64/Makefile
index 17bc0974e..ecc4a3a46 100644
--- a/arch/mips64/Makefile
+++ b/arch/mips64/Makefile
@@ -33,6 +33,7 @@ endif
# machines may also. Since BFD is incredibly buggy with respect to
# crossformat linking we rely on the elf2ecoff tool for format conversion.
#
+CFLAGS += $(TOPDIR)/include/asm/gcc $(CFLAGS)
CFLAGS += -mabi=64 -G 0 -mno-abicalls -fno-pic -Wa,--trap -pipe
LINKFLAGS += -G 0 -static # -N
MODFLAGS += -mlong-calls