diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-20 16:15:20 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-20 16:15:20 +0000 |
commit | c5fc4a0b1ee355be9d6ad9d17d1d3d04783d1546 (patch) | |
tree | 7b82cd1665f37b4523018e8f328874399178f8da | |
parent | Obsoleted as they were distributed to subdirectories. (diff) | |
download | rtems-c5fc4a0b1ee355be9d6ad9d17d1d3d04783d1546.tar.bz2 |
Obsoleted.
Diffstat (limited to '')
-rw-r--r-- | scripts/mktoolspec | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/scripts/mktoolspec b/scripts/mktoolspec deleted file mode 100644 index 2940e6b47b..0000000000 --- a/scripts/mktoolspec +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -# -# Usage: mktoolspec CPU -# - -RTEMS_DIR=`dirname $0` -RTEMS_VERSION=`grep Version ${RTEMS_DIR}/../VERSION | \ -sed -e 's%RTEMS[ ]*Version[ ]*\(.*\)[ ]*%\1%g'` - -target_alias=$1 -release=0 - -# Some linux distributions use /usr/src/packages -# redhat uses /usr/src/redhat -# others might use /usr/src -if test -d /usr/src/packages/SPECS; -then -dst=/usr/src/packages/SPECS; -elif test -d /usr/src/redhat/SPECS; - then -dst=/usr/src/redhat/SPECS; -elif test -d /usr/src/SPECS/; -then -dst=/usr/src/SPECS; -fi - -sed -e "s%@Version@%${RTEMS_VERSION}%g" \ --e "s%@bsp@%${bsp}%g" \ --e "s%@Release@%${release}%g" \ --e "s%@target_alias@%${target_alias}%g" \ -< ${RTEMS_DIR}/toolchain.spec.in \ -> ${dst}/rtems-$target_alias-tools.spec - -echo Generated ${dst}/rtems-$target_alias-tools.spec. |