* mpw-config.in (TARGET_OS): Add definition to conf.

This commit is contained in:
Stan Shebs 1996-06-28 18:13:47 +00:00
parent 8e80606fab
commit c611cd82fc
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Fri Jun 28 11:09:38 1996 Stan Shebs <shebs@andros.cygnus.com>
* mpw-config.in (TARGET_OS): Add definition to conf.
Thu Jun 27 20:39:40 1996 James G. Smith <jsmith@cygnus.co.uk>
* config/tc-mips.c (append_insn): Parenthesize

View file

@ -12,6 +12,7 @@ End If
# The following works for many configurations, though not all.
Set obj_format `echo {target_canonical} | sed -e 's/.*-.*-//'`
Set target_os `echo {target_canonical} | sed -e 's/.*-.*-//'`
Set bfd_gas no
@ -90,6 +91,9 @@ Echo '/* conf. Generated by mpw-configure. */' > "{o}"conf.new
Echo -n '#define TARGET_CPU "' >> "{o}"conf.new
Echo -n "{target_cpu}" >> "{o}"conf.new
Echo '"' >> "{o}"conf.new
Echo -n '#define TARGET_OS "' >> "{o}"conf.new
Echo -n "{target_os}" >> "{o}"conf.new
Echo '"' >> "{o}"conf.new
Echo -n '#define TARGET_ALIAS "' >> "{o}"conf.new
Echo -n "{target_alias}" >> "{o}"conf.new
Echo '"' >> "{o}"conf.new