diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-18 19:10:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-18 19:10:03 +0000 |
commit | 8c5e54b1afbf4f980543e3eccff3495d2fb84419 (patch) | |
tree | 64253854ac3a517c4cd2dc585b1632cf8d698239 /scripts/mktoolspec | |
parent | Ralf Corsepius (corsepiu@faw.uni-ulm.de) submitted these scripts to (diff) | |
download | rtems-8c5e54b1afbf4f980543e3eccff3495d2fb84419.tar.bz2 |
Working on being able to cut RPMs. It now appears that the process
is working mostly for sparc at least.
There is one major problem -- the current process generates a unique
source file per RPM when in fact all of the source files are nearly
the same -- it is only the spec part of the rpm which differs.
The new file mkbinutils_subpackage_version is an attempt to
address this. It does part of the job right -- one source file
produces multiple binary RPMs. BUT the end user can not produce
the resulting RPMS themselves from SRPMS unless they also
build all targets.
Diffstat (limited to 'scripts/mktoolspec')
-rw-r--r-- | scripts/mktoolspec | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/mktoolspec b/scripts/mktoolspec index a9cf92a869..2940e6b47b 100644 --- a/scripts/mktoolspec +++ b/scripts/mktoolspec @@ -1,12 +1,13 @@ #!/bin/sh # +# Usage: mktoolspec CPU +# RTEMS_DIR=`dirname $0` RTEMS_VERSION=`grep Version ${RTEMS_DIR}/../VERSION | \ sed -e 's%RTEMS[ ]*Version[ ]*\(.*\)[ ]*%\1%g'` -bsp=$1 -target_alias=$2 +target_alias=$1 release=0 # Some linux distributions use /usr/src/packages @@ -30,4 +31,4 @@ sed -e "s%@Version@%${RTEMS_VERSION}%g" \ < ${RTEMS_DIR}/toolchain.spec.in \ > ${dst}/rtems-$target_alias-tools.spec - +echo Generated ${dst}/rtems-$target_alias-tools.spec. |