summaryrefslogtreecommitdiff
path: root/rtems/bit_all_multilib
blob: 300ffbf688ce27f5c36dbc1fd0a6fa8a37befa55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

  # sh-elf is being ignored temporarily
  # m68k now equal m68k-elf
  # c4x is temporary out.
  #ALL_CPUS="a29k arm c4x h8300 i386 m68k mips mips64orion \
  #      or32 powerpc sh sparc"
ALL_CPUS="arm avr bfin h8300 i386 lm32 m32c m32r m68k mips moxie \
nios2 or1k powerpc sh sparc sparc64 v850"


if [ $# -eq 0 ] ; then
  CPUS=${ALL_CPUS}
else
  CPUS=$*
fi

echo "Multilib build for: ${CPUS}"

BUILDDIR=`pwd`
start=`date`
for cpu in ${CPUS}
do
  cd $BUILDDIR
  rm -rf build-${cpu}-multilib-*rtems*
  ./bit_rtems ${cpu} multilib >log/${cpu}-multilib.log 2>&1 
  
  du -s -k build-${cpu}-multilib-*rtems*
  rm -rf build-${cpu}-multilib-*rtems*
done
stop=`date`
echo "Multilibs started at:" $start
echo "Multilibs stopped at:" $stop