From 321de68b216400d3542e34d9c64c4aa261e60341 Mon Sep 17 00:00:00 2001 From: Vencislav Atanasov Date: Mon, 1 May 2017 22:57:01 +0300 Subject: Add Vagrant configuration for creating a development VM Vagrant is an application that automates creation and provisioning of a virtual machine for development. The config here creates an Ubuntu 16.04 LTS machine, updates it, downloads and installs the toolchains for sh, m68k and arm, mingw-w64, SDL (for Windows simulators) and other packages needed for building Rockbox. It works fine for building a Windows simulator and compiling iPod classic binaries. It should be possible to make the other build types, too. MIPS toolchain fails to build, ARM-APP is not tested because the files download very slow on my connection. Please test if it works for you, and let me know. Quick start: download and install Vagrant and VirtualBox for your operating system, make sure VT-x / AMD-V is enabled in your BIOS/EFI setup, open a shell in rockbox/tools and input the command "vagrant up" Change-Id: Ief5476ab066663a4db7e85404b25d2d781d90532 --- tools/vagrant/provision.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 tools/vagrant/provision.sh (limited to 'tools/vagrant/provision.sh') diff --git a/tools/vagrant/provision.sh b/tools/vagrant/provision.sh new file mode 100755 index 0000000000..cba1bfefaa --- /dev/null +++ b/tools/vagrant/provision.sh @@ -0,0 +1,6 @@ +#!/bin/bash -e + +# Update the OS and install all required packages +apt-get update +apt-get dist-upgrade -y +apt-get install -y zip build-essential gcc-mingw-w64-i686 gcc-mingw-w64-x86-64 texinfo automake libtool-bin flex bison libncurses-dev -- cgit