Commit eebcbb1113742df7d41fc3d39eca970a026ad1d1

Anthony Green 2019-11-07T11:26:53

Compile m68k target for m5208

diff --git a/.travis.yml b/.travis.yml
index 3889800..c44b3b0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,6 +3,10 @@ sudo: required
 
 language: cpp
 
+# For qemu-powered targets, get the list of supported processors from
+# travis by setting QEMU_CPU=help, then set -mcpu= for the compilers
+# accordingly.
+
 matrix:
   include:
     - os: osx
@@ -12,7 +16,7 @@ matrix:
     - os: linux
       env: HOST=alpha-linux-gnu MEVAL='export CC="alpha-linux-gnu-gcc-8" && CXX="alpha-linux-gnu-g++-8"' CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/alpha-linux-gnu
     - os: linux
-      env: HOST=m68k-linux-gnu MEVAL='export CC="m68k-linux-gnu-gcc-8" && CXX="m68k-linux-gnu-g++-8"' CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/m68k-linux-gnu QEMU_CPU=help
+      env: HOST=m68k-linux-gnu MEVAL='export CC="m68k-linux-gnu-gcc-8 -mcpu=5208" && CXX="m68k-linux-gnu-g++-8 -mcpu=5208"' CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/m68k-linux-gnu QEMU_CPU=m5208
     - os: linux
       env: HOST=s390x-linux-gnu MEVAL='export CC="s390x-linux-gnu-gcc-8" && CXX="s390x-linux-gnu-g++-8"' CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/s390x-linux-gnu
     - os: linux