summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2022-08-16 09:57:39 -0400
committerDaniel Micay <danielmicay@gmail.com>2022-08-25 23:15:08 -0400
commitf6fa504383cf94eee74b9d7271dc8d1c5100b4a6 (patch)
tree1353f1b5fcd3b272fce9f07d008a8a43bb1e6e55
parent150b219eefbde9b6b43abfbd1379d762091f7bad (diff)
reorder Vanadium build guide
gclient sync needs to be run after applying patches since our patches currently changes the dependencies.
-rw-r--r--static/build.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/static/build.html b/static/build.html
index c0a963c8..6b73d8ee 100644
--- a/static/build.html
+++ b/static/build.html
@@ -844,13 +844,16 @@ git checkout $CORRECT_BRANCH_OR_TAG</pre>
<pre>cd src
git fetch --tags
-git checkout $VERSION
-gclient sync -D --with_branch_heads --with_tags --jobs 32</pre>
+git checkout $VERSION</pre>
<p>Apply the GrapheneOS patches on top of the tagged release:</p>
<pre>git am --whitespace=nowarn --keep-non-patch ../patches/*.patch</pre>
+ <p>Sync submodules and obtain build dependencies:</p>
+
+ <pre>gclient sync -D --with_branch_heads --with_tags --jobs 32</pre>
+
<p>Then, configure the build in the <code>src</code> directory:</p>
<pre>gn args out/Default</pre>