Skip to content

Commit

Permalink
Added build deps and corrected instructions (#119)
Browse files Browse the repository at this point in the history
* Added cpio and rsync to build deps for buildroot

* More build deps, screen

* Updated build instructions to include source.sh for KEYSTONE_SDK_DIR
  • Loading branch information
dkohlbre committed Sep 11, 2019
1 parent 0e42aa3 commit 0626682
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ sudo apt install autoconf automake autotools-dev bc \
bison build-essential curl expat libexpat1-dev flex gawk gcc git \
gperf libgmp-dev libmpc-dev libmpfr-dev libtool texinfo tmux \
patchutils zlib1g-dev wget bzip2 patch vim-common lbzip2 python \
pkg-config libglib2.0-dev libpixman-1-dev libssl-dev \
device-tree-compiler expect makeself unzip
pkg-config libglib2.0-dev libpixman-1-dev libssl-dev screen \
device-tree-compiler expect makeself unzip cpio rsync
```

Checkout branch (optional)
Expand All @@ -45,6 +45,7 @@ make
## Test

```
source source.sh
make run-tests
```

Expand Down
6 changes: 3 additions & 3 deletions docs/source/Getting-Started/Install-Dependencies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Ubuntu

::

sudo apt update
sudo apt update
sudo apt install autoconf automake autotools-dev bc \
bison build-essential curl expat libexpat1-dev flex gawk gcc git \
gperf libgmp-dev libmpc-dev libmpfr-dev libtool texinfo tmux \
patchutils zlib1g-dev wget bzip2 patch vim-common lbzip2 python \
pkg-config libglib2.0-dev libpixman-1-dev libssl-dev \
device-tree-compiler expect makeself unzip
pkg-config libglib2.0-dev libpixman-1-dev libssl-dev screen \
device-tree-compiler expect makeself unzip cpio rsync
3 changes: 2 additions & 1 deletion docs/source/Getting-Started/QEMU-Run-Tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Simply running following command will build and run tests in QEMU.

::

source source.sh
make run-tests

If you wish to compile and run tests by your self, follow the following instructions.
Expand Down Expand Up @@ -83,4 +84,4 @@ You can run the test enclaves by using a self-extracting keystone archive called
::

cd ./tests
./tests.ke
./tests.ke

0 comments on commit 0626682

Please sign in to comment.