summaryrefslogtreecommitdiffstats
path: root/scripts/mkbspspec
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-20 19:54:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-20 19:54:36 +0000
commit0f242f5f9a19b144c0e360aa08c25b43f358ed4c (patch)
treea8db7219b6f7d9f5626ce95547f2e3555abe8c89 /scripts/mkbspspec
parentNew file. (diff)
downloadrtems-0f242f5f9a19b144c0e360aa08c25b43f358ed4c.tar.bz2
Moving things to an rtems subdirectory like the other tools.
Diffstat (limited to 'scripts/mkbspspec')
-rw-r--r--scripts/mkbspspec31
1 files changed, 0 insertions, 31 deletions
diff --git a/scripts/mkbspspec b/scripts/mkbspspec
deleted file mode 100644
index 49dbf459ac..0000000000
--- a/scripts/mkbspspec
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-#
-
-RTEMS_DIR=`dirname $0`
-RTEMS_VERSION=`grep Version ${RTEMS_DIR}/../VERSION | \
-sed -e 's%RTEMS[ ]*Version[ ]*\(.*\)[ ]*%\1%g'`
-
-bsp=$1
-target_alias=$2
-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}/rtems.spec.in \
-> ${dst}/rtems-$target_alias-$bsp.spec