OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [scripts/] [mkrpms] - Diff between revs 1026 and 1765

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 1026 Rev 1765
#!/bin/sh
#!/bin/sh
#
#
# A simple shell script to build several rpms in a row.
# A simple shell script to build several rpms in a row.
#
#
# Used for testing rtems.spec.in
# Used for testing rtems.spec.in
#
#
# Some linux distributions use /usr/src/packages
# Some linux distributions use /usr/src/packages
# redhat uses /usr/src/redhat
# redhat uses /usr/src/redhat
# others might use /usr/src
# others might use /usr/src
if test -d /usr/src/packages/SPECS;
if test -d /usr/src/packages/SPECS;
then
then
dst=/usr/src/packages/SPECS;
dst=/usr/src/packages/SPECS;
elif test -d /usr/src/redhat/SPECS;
elif test -d /usr/src/redhat/SPECS;
 then
 then
dst=/usr/src/redhat/SPECS;
dst=/usr/src/redhat/SPECS;
elif test -d /usr/src/SPECS/;
elif test -d /usr/src/SPECS/;
then
then
dst=/usr/src/SPECS;
dst=/usr/src/SPECS;
fi
fi
./mkspec pc386 i386-rtems
./mkspec pc386 i386-rtems
rpm -ba $dst/rtems-i386-rtems-pc386.spec
rpm -ba $dst/rtems-i386-rtems-pc386.spec
./mkspec gensh1 sh-rtemself
./mkspec gensh1 sh-rtemself
rpm -ba $dst/rtems-sh-rtemself-gensh1.spec
rpm -ba $dst/rtems-sh-rtemself-gensh1.spec
./mkspec mcp750 powerpc-rtems
./mkspec mcp750 powerpc-rtems
rpm -ba $dst/rtems-powerpc-rtems-mcp750.spec
rpm -ba $dst/rtems-powerpc-rtems-mcp750.spec
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.