diff options
Diffstat (limited to 'gas/mpw-config.in')
-rw-r--r-- | gas/mpw-config.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/mpw-config.in b/gas/mpw-config.in index 3e1f196..3d3eb6f 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 |