summaryrefslogtreecommitdiff
path: root/gcc/config/t-sysroot-suffix
diff options
context:
space:
mode:
authorams <ams@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-07 07:10:43 +0000
committerams <ams@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-07 07:10:43 +0000
commitfa22494cdf3dce831ff9da0de8cfd392bbe47937 (patch)
tree526ae7157e73d862c1134d52ac5d3f136108c3a1 /gcc/config/t-sysroot-suffix
parente73bbd214196767e756ac90d7867603a07af4d51 (diff)
downloadgcc-fa22494cdf3dce831ff9da0de8cfd392bbe47937.tar.gz
2009-04-07 Andrew Stubbs <ams@codesourcery.com>
* config.gcc (sh-*-*): Add sysroot-suffix.h to tm_file. Add t-sysroot-suffix to tmake_file. * config/print-sysroot-suffix.sh: New file. * config/t-sysroot-suffix: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145650 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/t-sysroot-suffix')
-rw-r--r--gcc/config/t-sysroot-suffix7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/t-sysroot-suffix b/gcc/config/t-sysroot-suffix
new file mode 100644
index 00000000000..08b4f949e3c
--- /dev/null
+++ b/gcc/config/t-sysroot-suffix
@@ -0,0 +1,7 @@
+# Generate SYSROOT_SUFFIX_SPEC from MULTILIB_OSDIRNAMES
+
+sysroot-suffix.h: $(srcdir)/config/print-sysroot-suffix.sh
+ $(SHELL) $(srcdir)/config/print-sysroot-suffix.sh \
+ "$(MULTILIB_OSDIRNAMES)" "$(MULTILIB_OPTIONS)" \
+ "$(MULTILIB_MATCHES)" > tmp-sysroot-suffix.h
+ mv tmp-sysroot-suffix.h $@