aboutsummaryrefslogtreecommitdiff
path: root/gas/mpw-xconfig.in
blob: dca21c8472f69c51fab33b10661cf50f5a9f7a20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Extra configuration fragment for GAS.

If "{target_canonical}" =~ /mips-idt-ecoff/
	forward-include "{srcdir}"config:atof-ieee.c atof-targ.c
	forward-include "{srcdir}"config:obj-ecoff.c obj-format.c
	forward-include "{srcdir}"config:obj-ecoff.h obj-format.h
	forward-include "{srcdir}"config:tc-mips.c targ-cpu.c
	forward-include "{srcdir}"config:tc-mips.h targ-cpu.h
	forward-include "{srcdir}"config:te-generic.h targ-env.h

	echo '#define TARGET_CPU "mips"' >config.new
	echo '#define TARGET_ALIAS "mips-idt-ecoff"' >>config.new
	echo '#define TARGET_CANONICAL "mips-idt-ecoff"' >>config.new
	echo '#define GAS_VERSION "cygnus-2.2.1"' >>config.new

	MoveIfChange config.new config.h
End If