* mpw-config.in (TARGET_OS): Add definition to conf.
authorStan Shebs <shebs@codesourcery.com>
Fri, 28 Jun 1996 18:13:47 +0000 (18:13 +0000)
committerStan Shebs <shebs@codesourcery.com>
Fri, 28 Jun 1996 18:13:47 +0000 (18:13 +0000)
gas/ChangeLog
gas/mpw-config.in

index b0dc1149c6b629392eb77129bde293e57134a557..e6afcba0f7dfd8be23c6e5274465c27073c8189b 100644 (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
index 3e1f196e7656bb314c977da3a5c8db28a0d2b9ac..3d3eb6f169fd3db3540ba6a324f24b7a750dc3b2 100644 (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