diff options
author | Stan Shebs <shebs@codesourcery.com> | 1996-06-28 18:13:47 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1996-06-28 18:13:47 +0000 |
commit | c611cd82fc0b6ed67111d927cdcdd0debc56b687 (patch) | |
tree | aedc982dfede09a4202d02ed42d56b1327168f6b /gas/mpw-config.in | |
parent | 8e80606fabbd1ca670935d63b9ade5f0d1bfec2e (diff) | |
download | gdb-c611cd82fc0b6ed67111d927cdcdd0debc56b687.zip gdb-c611cd82fc0b6ed67111d927cdcdd0debc56b687.tar.gz gdb-c611cd82fc0b6ed67111d927cdcdd0debc56b687.tar.bz2 |
* mpw-config.in (TARGET_OS): Add definition to conf.
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 |