forked from Imagelibrary/rtems
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.
20 lines
467 B
Bash
Executable File
20 lines
467 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
|
|
RTEMS_DIR=`dirname $0`
|
|
RTEMS_VERSION=`grep Version ${RTEMS_DIR}/../VERSION | \
|
|
sed -e 's%RTEMS[ ]*Version[ ]*\(.*\)[ ]*%\1%g'`
|
|
|
|
target_alias=$1
|
|
bsp=$2
|
|
release=0
|
|
|
|
#${RTEMS_DIR}/scripts/mkbspspec $bsp $target_alias
|
|
#${RTEMS_DIR}/scripts/mkbinutilspec $target_alias
|
|
#${RTEMS_DIR}/scripts/mkgccnewlibspec $target_alias
|
|
#${RTEMS_DIR}/scripts/mkgdbspec $target_alias
|
|
./mkbinutilspec $target_alias
|
|
./mkgccnewlibspec $target_alias
|
|
./mkgdbspec $target_alias
|
|
|