summaryrefslogtreecommitdiffstats
path: root/scripts/gcc3newlib/mkspec.in
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-04-12 08:11:11 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-04-12 08:11:11 +0000
commit3cba82269fa03e3e87f16d53b01c491f223916c6 (patch)
treee693eb78345ce71b6a22480269b0ef3a87bdf1d6 /scripts/gcc3newlib/mkspec.in
parent2005-04-12 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-3cba82269fa03e3e87f16d53b01c491f223916c6.tar.bz2
Use newlib_* instead of gcc3newlib_* for values from setup.*.
Diffstat (limited to '')
-rw-r--r--scripts/gcc3newlib/mkspec.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/gcc3newlib/mkspec.in b/scripts/gcc3newlib/mkspec.in
index 3a611d1e06..044a1575d5 100644
--- a/scripts/gcc3newlib/mkspec.in
+++ b/scripts/gcc3newlib/mkspec.in
@@ -54,15 +54,15 @@ patchn=`expr $patchn + 1`
PATCH1="Patch${patchn}: gcc-${gcc_version}-rtems-${gcc_patch_version}.diff"
fi
-if test -n "${gcc3newlib_patch_version}"; then
+if test -n "${newlib_patch_version}"; then
patchn=`expr $patchn + 1`
-PATCH3="Patch${patchn}: newlib-${gcc3newlib_version}-rtems-${gcc3newlib_patch_version}.diff"
+PATCH3="Patch${patchn}: newlib-${newlib_version}-rtems-${newlib_patch_version}.diff"
fi
# note that the variables in the gcc3newlib directory are actually the same
sed -e "s,@PATCH1\@,${PATCH1}," \
-e "s,@PATCH3\@,${PATCH3}," \
- -e "s%@Release\@%${gcc3newlib_rpm_release}%g" \
+ -e "s%@Release\@%${newlib_rpm_release}%g" \
-e "s%@target_alias\@%${target_alias}%g" \
-e "s%@prefix\@%@prefix@%g" \
-e "s,@rpmprefix\@,@rpmprefix@,g" \
@@ -72,7 +72,7 @@ sed -e "s,@PATCH1\@,${PATCH1}," \
-e "s%@gcc_version\@%${gcc_version}%g" \
-e "s%@gcc_patch_version\@%${gcc_patch_version}%g" \
-e "s%@gcc_suffix\@%${gcc_suffix}%g" \
- -e "s%@newlib_version\@%${gcc3newlib_version}%g" \
- -e "s%@newlib_patch_version\@%${gcc3newlib_patch_version}%g" \
- -e "s%@newlib_suffix\@%${gcc3newlib_suffix}%g" \
+ -e "s%@newlib_version\@%${newlib_version}%g" \
+ -e "s%@newlib_patch_version\@%${newlib_patch_version}%g" \
+ -e "s%@newlib_suffix\@%${newlib_suffix}%g" \
< ${specsrc}