aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Svärd <jonny.svaerd@arm.com>2021-06-22 16:21:14 +0200
committerJonny Svärd <jonny.svaerd@arm.com>2021-06-22 17:02:22 +0200
commitdabf6b5d835ff8bba36764d3db4dcc07f826dc3f (patch)
treea0227ef2b8747b1a99f675cea7002717a1ffed28
parentffbd8e7b6c613f7f81102fc9cfa030cc4e329e71 (diff)
downloadethos-u-core-platform-dabf6b5d835ff8bba36764d3db4dcc07f826dc3f.tar.gz
Add a requirements.txt to scripts folder
Some scripts require external modules (from pip). Install using: python -m pip install -r requirements.txt NOTE: On some distributions python2 is still default, so to use python 3 it might be necessary to replace python on the above command line with python3 Update README.md to mention the python requirements. Change-Id: Ia7581c874570d92846095775f680238328f651b4
-rw-r--r--README.md12
-rw-r--r--requirements.txt2
2 files changed, 12 insertions, 2 deletions
diff --git a/README.md b/README.md
index ff92bbd..fb93008 100644
--- a/README.md
+++ b/README.md
@@ -23,8 +23,16 @@ downloaded from the Ecosystem page at
### Building
-Building with default settings requires CMake for the configuration and make for
-building. This will produce an elf file which can be run on the FVP.
+Building with default settings requires CMake for the configuration, make for
+building and Python 3 for helper scripts.
+
+Before the first time building, install the required Python modules.
+
+```
+$ pip install -r requirements.txt
+```
+
+The following commands will produce an elf file which can be run on the FVP.
```
$ cmake -B build/corstone-300 targets/corstone-300
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..5e03a5c
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,2 @@
+numpy
+pyelftools