Skip to content

Commit

Permalink
litex: or32 -> or1k in litex build script
Browse files Browse the repository at this point in the history
  • Loading branch information
stffrdhrn committed Sep 5, 2018
1 parent e29e833 commit b427eaf
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions build-litex-qemu.sh
Expand Up @@ -54,7 +54,7 @@ mkdir -p build

if [ ! -f config.log -o ! -f Makefile -o ! -f qemu-img ]; then
../configure \
--target-list=lm32-softmmu,or32-softmmu \
--target-list=lm32-softmmu,or1k-softmmu \
--python=/usr/bin/python2 \
--enable-fdt \
--disable-kvm \
Expand Down Expand Up @@ -98,13 +98,8 @@ mkdir -p build
echo "To use run something like the following;"

for CPU in $CPUS; do
if [ "$CPU" = "or1k" ]; then
QEMU_CPU=or32
else
QEMU_CPU="$CPU"
fi
cat <<EOF
build/$QEMU_CPU-softmmu/qemu-system-$QEMU_CPU \\
build/$CPU-softmmu/qemu-system-$CPU \\
-nographic -nodefaults \\
-monitor pty \\
-serial stdio \\
Expand All @@ -118,10 +113,4 @@ EOF
done
echo
done
cat <<'EOF'
Note: QEmu uses or32 while LiteX uses or1k for the OpenRISC architecture
EOF

)

0 comments on commit b427eaf

Please sign in to comment.