From: Stan Shebs Date: Fri, 28 Jun 1996 18:13:47 +0000 (+0000) Subject: * mpw-config.in (TARGET_OS): Add definition to conf. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c611cd82fc0b6ed67111d927cdcdd0debc56b687;p=binutils-gdb.git * mpw-config.in (TARGET_OS): Add definition to conf. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index b0dc1149c6b..e6afcba0f7d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +Fri Jun 28 11:09:38 1996 Stan Shebs + + * mpw-config.in (TARGET_OS): Add definition to conf. + Thu Jun 27 20:39:40 1996 James G. Smith * config/tc-mips.c (append_insn): Parenthesize diff --git a/gas/mpw-config.in b/gas/mpw-config.in index 3e1f196e765..3d3eb6f169f 100644 --- a/gas/mpw-config.in +++ b/gas/mpw-config.in @@ -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