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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [scripts-ada/] [mkrpms] - Blame information for rev 606

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
#!/bin/sh
2
 
3
#
4
# A simple shell script to build several rpms in a row.
5
#
6
# Used for testing rtems.spec.in
7
#
8
 
9
# Some linux distributions use /usr/src/packages
10
# redhat uses /usr/src/redhat
11
# others might use /usr/src
12
if test -d /usr/src/packages/SPECS;
13
then
14
dst=/usr/src/packages/SPECS;
15
elif test -d /usr/src/redhat/SPECS;
16
 then
17
dst=/usr/src/redhat/SPECS;
18
elif test -d /usr/src/SPECS/;
19
then
20
dst=/usr/src/SPECS;
21
fi
22
 
23
./mkspec pc386 i386-rtems
24
rpm -ba $dst/rtems-i386-rtems-pc386.spec
25
 
26
./mkspec gensh1 sh-rtemself
27
rpm -ba $dst/rtems-sh-rtemself-gensh1.spec
28
 
29
./mkspec mcp750 powerpc-rtems
30
rpm -ba $dst/rtems-powerpc-rtems-mcp750.spec
31
 
32
 

powered by: WebSVN 2.1.0

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