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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-binutils/] [binutils-2.19.1/] [cgen/] [gen-all-opcodes] - Rev 6

Compare with Previous | Blame | View Log

#! /bin/sh
# Utility script to generate the opcodes files.
# This is useful for verifying changes to the generated files.
#
# Run this script in the src/cgen directory.

# Exit on any error.
set -e

# For debugging.
set -x

if [ ! -f sim.scm ]
then
    echo "Not in the src/cgen directory." >& 2
    exit 1
fi

builddir=tmp-opc

rm -rf $builddir
mkdir $builddir

export cgendir=`pwd`

cd $builddir
$cgendir/../opcodes/configure --prefix /tmp/junk --target m32r-elf --enable-targets=all
make run-cgen-all

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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