summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2006-07-14 06:54:23 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2006-07-14 06:54:23 +0000
commit26bdc8757009be7991e731883eb639cfd70ba82e (patch)
tree1314bf253bebfc88d29d26ee858f25bfca1ce84b
parentinclude ../gcc.am (diff)
downloadrtems-26bdc8757009be7991e731883eb639cfd70ba82e.tar.bz2
Use <os>/<arch>/Makefile.am in check for all/rtems.
-rw-r--r--contrib/crossrpms/configure.ac20
1 files changed, 12 insertions, 8 deletions
diff --git a/contrib/crossrpms/configure.ac b/contrib/crossrpms/configure.ac
index 7c64abfc99..9b6395de14 100644
--- a/contrib/crossrpms/configure.ac
+++ b/contrib/crossrpms/configure.ac
@@ -24,9 +24,10 @@ rtems )
savdir=`pwd`
cd $srcdir
targets=
- for d in rtems4.7/*/gcc-sources.add; do
- b=`echo $d | sed -e 's,rtems4.7/,,;s,/gcc-sources.add,,'`
- targets="$targets $b-rtems4.7"
+ for d in rtems*/*/Makefile.am; do
+ o=`echo $d | sed -e 's,/.*,,'`
+ a=`echo $d | sed -e 's,/Makefile\.am,,;s,.*/,,'`
+ targets="$targets $a-$o"
done
cd $savdir
;;
@@ -34,15 +35,18 @@ all )
savdir=`pwd`
cd $srcdir
targets=
- for d in rtems*/*/gcc-sources.add; do
+ for d in rtems*/*/Makefile.am; do
o=`echo $d | sed -e 's,/.*,,'`
- a=`echo $d | sed -e 's,/gcc-sources.add,,;s,.*/,,'`
+ a=`echo $d | sed -e 's,/Makefile\.am,,;s,.*/,,'`
targets="$targets $a-$o"
done
- for d in cygwin*/*/gcc-sources.add mingw*/*/gcc-sources.add \
- freebsd*/*/gcc-sources.add; do
+ for d in freebsd*/*/Makefile.am \
+ cygwin*/*/Makefile.am \
+ mingw*/*/Makefile.am \
+ solaris*/*/Makefile.am; \
+ do
o=`echo $d | sed -e 's,/.*,,'`
- a=`echo $d | sed -e 's,/gcc-sources.add,,;s,.*/,,'`
+ a=`echo $d | sed -e 's,/Makefile\.am,,;s,.*/,,'`
targets="$targets $a-pc-$o"
done
cd $savdir