scripts/rebuild.sh: Add --target=<name> option.

This adds a new option to the rebuild.sh script to specify the
virtual CPU target to build QEMU binaries for. Several targets
can be specified, either by calling --target=<name> multiple
times, or by using a comma-separated list, as in:

  --target=arm,arm64,x86

Valid target names are those used by the emulator, not those
used by QEMU which are slightly different:

  arm, arm64, x86, x86_64, mips, mips32

Note: The generated binaries require a custom kernel, system
      images, Android launcher, and have not been tested yet.

+ Fix SDL2 build to be more complete, otherwise the link fails
  on OS X.
1 file changed
tree: 0c2b97786968b544f284870ff3cb9b786183beae
  1. archive/
  2. scripts/