From 1d37a68fe471cf6b920307a33eae7bd9b990030e Mon Sep 17 00:00:00 2001 From: Ian Carmichael Date: Thu, 15 Jan 1998 15:45:41 +0000 Subject: [PATCH] * configure.in: Add sky support * configure: Regenerated --- sim/.Sanitize | 27 +++++++++++++++++++++++++++ sim/configure.in | 8 ++++++++ 2 files changed, 35 insertions(+) diff --git a/sim/.Sanitize b/sim/.Sanitize index 32b2f787b90..e2c24a7336b 100644 --- a/sim/.Sanitize +++ b/sim/.Sanitize @@ -158,6 +158,33 @@ else done fi +txvu_files="configure configure.in ChangeLog" +if ( echo $* | grep keep\-sky > /dev/null ) ; then + for i in $txvu_files ; do + if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping sky stuff in $i + fi + fi + done +else + for i in $txvu_files ; do + if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"sky\" from $i... + fi + cp $i new + sed '/start\-sanitize\-sky/,/end-\sanitize\-sky/d' < $i > new + if [ -n "${safe}" -a ! -f .Recover/$i ] ; then + if [ -n "${verbose}" ] ; then + echo Caching $i in .Recover... + fi + mv $i .Recover + fi + mv new $i + fi + done +fi for i in * ; do if test ! -d $i && (grep sanitize $i > /dev/null) ; then diff --git a/sim/configure.in b/sim/configure.in index aa7b6d14d80..4797eb9e78b 100644 --- a/sim/configure.in +++ b/sim/configure.in @@ -66,6 +66,14 @@ case "${target}" in only_if_gcc=yes extra_subdirs="${extra_subdirs} igen" ;; +# start-sanitize-sky + txvu-*-*) + # The Sky simulator + sim_target=txvu + only_if_gcc=yes + extra_subdirs="${extra_subdirs} igen" + ;; +# end-sanitize-sky mn10300*-*-*) # The mn10300 simulator can only be compiled by gcc. sim_target=mn10300 -- 2.30.2