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

Subversion Repositories m1_core

[/] [m1_core/] [trunk/] [tools/] [bin/] [compile_test] - Diff between revs 2 and 14

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 14
Line 5... Line 5...
# Parameter is test name without extension (e.g. to compile
# Parameter is test name without extension (e.g. to compile
# $M1_ROOT/tests/hello.c) run "compile_test hello".
# $M1_ROOT/tests/hello.c) run "compile_test hello".
#
#
# Requires mipsel-linux-gcc (see Download section on srisc.com).
# Requires mipsel-linux-gcc (see Download section on srisc.com).
 
 
 
if [ -z "$M1_ROOT" ]; then echo "***ERROR***: M1_ROOT variable is undefined, please set it and run 'source sourceme'."; exit 1; fi
 
if ! [ -d "$M1_ROOT" ]; then echo "***ERROR***: directory '$M1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi
 
 
cd $M1_ROOT/tests
cd $M1_ROOT/tests
rm -f *.o *~ *.bin                  # Make clean
rm -f *.o *~ *.bin                  # Make clean
if ( test $# != 1 ) then
if ( test $# != 1 ) then
  echo "compile_test - Script to compile a test for the M1 Core";
  echo "compile_test - Script to compile a test for the M1 Core";
  echo "(C) 2006 by Simply RISC";
  echo "(C) 2006 by Simply RISC";

powered by: WebSVN 2.1.0

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