From 1fc920d94c009452779709c5e14f99f07c68d3eb Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Mon, 7 Aug 2017 17:48:21 +0200 Subject: [PATCH] readme: mention scons --- README.md | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index c77d4541d..01424d327 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ ![TREZOR Core](docs/trezor_core.png) -[![Build Status](https://travis-ci.org/trezor/trezor-core.svg?branch=master)](https://travis-ci.org/trezor/trezor-core) [![gitter](https://badges.gitter.im/trezor/community.svg)](https://gitter.im/trezor/community) +[![Build Status](https://travis-ci.org/trezor/trezor-core.svg?branch=master)](https://travis-ci.org/trezor/trezor-core) +[![Gitter](https://badges.gitter.im/trezor/community.svg)](https://gitter.im/trezor/community) This is the core of the upcoming TREZOR v2. @@ -26,35 +27,28 @@ cd trezor-core ```sh sudo dpkg --add-architecture i386 sudo apt-get update -sudo apt-get install libsdl2-dev:i386 libsdl2-image-dev:i386 gcc-multilib +sudo apt-get install scons libsdl2-dev:i386 libsdl2-image-dev:i386 gcc-multilib make build_unix ``` #### Fedora ```sh -sudo yum install SDL2-devel.i686 SDL2_image-devel.i686 +sudo yum install scons SDL2-devel.i686 SDL2_image-devel.i686 make build_unix ``` #### openSUSE ```sh -sudo zypper install libSDL2-devel-32bit libSDL2_image-devel-32bit +sudo zypper install scons libSDL2-devel-32bit libSDL2_image-devel-32bit make build_unix ``` ### OS X -Install SDL2 using DMG installer from [SDL download page](https://www.libsdl.org/download-2.0.php) or run the following if you use Homebrew: - -```sh -brew install sdl2 sdl2_image -``` - -Build the emulator: - ```sh +brew install scons sdl2 sdl2_image make build_unix ```