summaryrefslogtreecommitdiffstats
path: root/scripts/mkspec
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-15 14:11:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-15 14:11:02 +0000
commit18408afbc7c4c4e67e91cc8a3a61232d6efadfc0 (patch)
treeaee331234100b175c2c0baa4f8b4d2211fd4f824 /scripts/mkspec
parentReorganized a lot per Jennifer's suggestions. (diff)
downloadrtems-18408afbc7c4c4e67e91cc8a3a61232d6efadfc0.tar.bz2
Ralf Corsepius (corsepiu@faw.uni-ulm.de) submitted these scripts to
help build RPMs.
Diffstat (limited to 'scripts/mkspec')
-rwxr-xr-xscripts/mkspec14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/mkspec b/scripts/mkspec
new file mode 100755
index 0000000000..8f725bdf5e
--- /dev/null
+++ b/scripts/mkspec
@@ -0,0 +1,14 @@
+#!/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
+
+${RTEMS_DIR}/scripts/mkbspspec $bsp $target_alias
+${RTEMS_DIR}/scripts/mktoolspec $target_alias
+